Quantcast
Channel: SQL Server Database Engine forum
Browsing all 12963 articles
Browse latest View live

Unable to get contraints of Tables when I script all tables from Object Explorer

Hi All,I was scripting all my Tables using object explorer, script doesn't have fireign keys I noticed. I verified at the portal but didnot get option through SSMS. One of developer helped me to get...

View Article


DBCC OLEDB Bottleneck?

Is there anything I can do for a OLEDB wait type?  After restarting my instance, I started a DBCC checkdb on a 200 GB database that uses the spatial data type.  A couple of tables have 250 million...

View Article


Can someone confirm the architecture of this file, preferably Microsoft guys?

The file in question is:C:\Program Files\Common Files\System\Ole DB\msdasql.dll mysorian 32-bit or 64-bit?

View Article

Transaction replication DML [update] operation not allowing

We are configuration the transaction replication from production to DR site, while I am trying to perform the DML [update] operation in publication database, DML [update] operation not allowing.Note:...

View Article

Critical deletion query

 Suppose there is a table name as "Usersdetails"ID                   Firstname                  Lastname1                       Alex                             stewart2                       Alex...

View Article


Image may be NSFW.
Clik here to view.

New database creation problem

While we are trying to create new database in test server it getting below error.Error:

View Article

Custom File Extension for Microsoft Access Text Driver (*.txt, *.csv)

I'm trying to use a custom file extension for the Microsoft Access Text Driver (*.txt, *.csv) driver.I have updated the FileExtns registry to have my new extension.When I issue the following it does...

View Article

Image may be NSFW.
Clik here to view.

Contained DB best practices

Hello!A standard procedure for converting an ordinary db to the contained one is as follows:http://msdn.microsoft.com/en-us/library/ff929275.aspxsp_migrate_user_to_contained @username =...

View Article


Error 606 occured - Metadata inconsistency for temp table

Hello,we currently have an issue on a production server running SQL Server 2005 Standard:Executing a stored procedure, which again executes another stored procedure in which a temporary table...

View Article


Distributed Transactions fail on Linked server

  We get the below error while performing a distributed transaction on linked server. We have several linked servers configured in the source server and all of them succeed with the distributed...

View Article

Image may be NSFW.
Clik here to view.

Fully contained database

Hello!My MS 70-462 exam guide says:This article (http://msdn.microsoft.com/en-us/library/ff929055.aspx) states:"If the containment setting of a database is changed from NONE to eitherPARTIAL or FULL,...

View Article

restoring to copy of db from bkup of original

Hi we run 2012 enterprise and I'm trying to use the ssms restore task to use an older full backup of db A to a newly created db called B.I scripted B as a "new" DB with recovery simple.  I believe A is...

View Article

Can't access main application database with massive log file

My company looks after a server which is running SQL Server 2014 Standard Edition. The main application database on the server is replicated out to about 20 subscribers. The server has only been in...

View Article


Can grant truncate table permission to a user?

Whether can grant  truncate table permission to a user separately.I know that the role db_ddladmin can do,but the create,alter and drop permissions will be granted the same time(These permissions are...

View Article

Restore MSDB Database

Hi - I have a corrupt MSDB database and I am not able to run dbcc checkdb with the fix parameter nor am I able to restore from backup - I get an error saying that the operating system returned error 23...

View Article


After setting database read_only if i take transaction log backup with no...

I want to take transaction backup of database, but i want the log have the last transaction in it.With no truncate option supports this. But via sql manegment studio, it leaves the database recovery...

View Article

Database Restore

Hello,  I am running into the following error when Restoring SQL DB: "The media set has 2 media families but only 1 are provided".  I might have backup onto two media, but I only saved one.  They are...

View Article


2012 SP 2 Issue

I have a warehouse that was running perfectly under 2012 SP1, it uses CDC with net enabled on the source tables to do incremental loads into the warehouse.We migrated the databases over to a new SQL...

View Article

Can we disable 'max_rollover_files' to stop file rollover for Xevent session.

Hello,Is it possible to disable file rollover option for extended events session. If i don't specify value for this it is taking a default value of 5.ADD TARGET package0.event_file( SET...

View Article

DBA

HI,How can i export tables from the linked servers using  sql server  mgmt studio?ThanksGanga

View Article
Browsing all 12963 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>