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 ArticleDBCC 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 ArticleCan 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 ArticleTransaction 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 ArticleCritical deletion query
Suppose there is a table name as "Usersdetails"ID Firstname Lastname1 Alex stewart2 Alex...
View ArticleNew database creation problem
While we are trying to create new database in test server it getting below error.Error:
View ArticleCustom 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 ArticleContained 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 ArticleError 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 ArticleDistributed 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 ArticleFully 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 Articlerestoring 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 ArticleCan'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 ArticleCan 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 ArticleRestore 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 ArticleAfter 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 ArticleDatabase 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 Article2012 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 ArticleCan 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 ArticleDBA
HI,How can i export tables from the linked servers using sql server mgmt studio?ThanksGanga
View Article