Table partitioning questions?
I have 4 tables which need to do partition. each table has one clustered index which is required & all tables have same column modified_on having datetime type except one.My questions as follows1)...
View ArticleNovember on TechNet: Calling All SQL DBE Gurus - Enlighten Us!
"An influential teacher, or popular expert" Oh mighty reader, we need your enlightenment! Only YOU can show us... the TRUE WAY to code! Win the love and adoration of generations to come, by giving...
View ArticleSuspected problem with identity seed on SQL Server 2012 Standard
SQL Server version 11.0.3128. I have an automated process (job, stored procedure) that inserts DMV data into database tables every half hour. It has run without incident for well over a month. On Nov....
View Articleslow query
I have 2 identical database, replicated. the table structure, indexes, text indexes, and data are identical. both servers are running the same exact version of sql server Microsoft SQL Server 2008...
View Articlesp_execute sql calling stored procedure fails during insert to table but...
I have a 3rd party system that uses sp_executesql under the covers (figured that out with profiler). I have a procedure that works fine when calling it directly in SSMS, but when I call it via the...
View ArticleTransaction Log Reuse
Hi~ My databases are in simple mode. And I find those log are very large about 50GB.how can I know when their log are reusing ? or it will keep growing?thats strange everytime I shink it,i grows to a...
View ArticleMigration Prerequisites from 2008 to 2012 sql server
hi,what are the Prerequisites for migration from sql server 2008 to sql server 2012 server, and what are steps i can follow here.
View ArticleSQL server job failed.
Hi all,I am calling a store procedure through my job. (This store procedure again calls below given three stored procedure) EXEC [DMReportingNew].[dbo].Load_DMReport;Exec...
View ArticleOracle linked slow perfomance
Hi guys, I beg the moderator to move in another forum if this is not the suitable.The issue: I got a SQL 2008r2 with an Oracle db linked. The connection is ok. I can retrieve data. Th eproblem is that...
View ArticleSQL 2008 R2 Common Criteria Scripts
SQL 2008 R2 supports "Common Criteria". However, it states you must run a script to fully enable it. All the links to the scripts fail.http://msdn.microsoft.com/en-us/library/bb153837.aspx Does...
View ArticleOptimization
Hello Sirs:I’m longing for the days of the SQL Server 6.x when the Execution Plans were very readable and the Query Hints were taken as written. When the optimizer had problems with a complicated...
View ArticleAutogrow of file 'templog'
Hi'Autogrow of file 'templog' in database 'tempdb' took 142094 milliseconds. Consider using ALTER DATABASE to set a smaller FILEGROWTH for this file.what is the Root clause analysis and how to...
View ArticleHow to correlate tempdb internal objects with user query using Transaction_Id
Using sys.dm_tran_active_transactions I can see internal objects being created and destroyed. How can I get the SessionId/User call that generates those internal objects? I tried using the...
View ArticleCapacity planning for sqlserver?
How can we partition drive space for Data.Log and TempDB files?Is there any formaule used to calculate the drive space allocations?Thanks,Ron.
View ArticleQuestion about Insert and Update
Hi All, I have a table which gets its data from another table. The destination table has 2 columns and it has index on it, which doesn't allow duplicates. So my question is I want to create a program...
View Articlexp_cmdshell completes with error code 1
Hello,I have a problem with SQL servers and the xp_cmdshell command. Both servers have the same setup and same accounts with same permissions but one server will complete an xp_cmdshell command...
View ArticleSQL Server 2005
The "Model" database in my SQL 2005 server displays a message saying it is not accessible. I feel this is the reason my backups (Symantec Backup Exec) have failed and now my BEDB for backups is now...
View ArticleSQL Server Windows Authenication Problem After uninstall DNS role
I was attempting to setup a network domain by adding the roles DNS Server and Active Directory Domain Server roles to a windows 2008 server that I had previously setup. Note on the machine computer I...
View ArticleSqlBulkCopy error following failed SQL Server Upgrade - permissions in...
Wondering if anyone has run into this before and might have suggestions about what to do about it:We have a system that has SQL 2008 Standard Edition on it. A few weeks back, the hosting provider...
View ArticleAlways On Availability Question mark?
Dear Friends,In my production environment I have two database Servers know as SQL-DB1 (prod) and SQL-DB2 (Stand by server). I have made a cluster between two and SQL-Db1 is my primary database server....
View Article