SQL Server - Which one do I need
Hello All,I have install Visual Studio Professional 2012. I will develop a application that will use SQL Tables on the PC only, NOT on the web.Questions:(1) What SQL Server should I down...
View ArticleSQL AGENT JOB - Manually runnable only
Hello, I have this sql server agent job in sql server 2008 that runs every month. I want to make this job manually runnable only - basically remove the recursive schedule. How do I achieve this...
View ArticleHow to get sql server editon assuming the sql server service is not running?
Hi all,I can find the sql server version info by checking the sqlserver.exe fileBut I cannot get the Edition information anywhere unless I can log into the server and do select...
View ArticleEventlog grows constantly with repeating message: Starting up database...
I'm not sure what I have done wrong!I installed the latest SQL SERVER 2012 Expression (with Advanced Services) (SP1). Then I downloaded the sample Adventueworks sample database from codeplex. I copied...
View ArticleUnable to connect to SQL Server '(local)'. The step failed.
Hii am getting below error , in sql Agent 2008(R2) RTM one of my job. if i run manually it getting succeed. But in job only some time it is getting failed , please help me note: this job is...
View ArticleSQL installation Path
Hi ALL I have a MSSQL2005 clusterI would like to the installation path from one drive to another. How can I do that ?
View ArticleHow to estimate log growth when providing DML
Hi there,what is the way how to estimate log growth when providing UPDATE, INSERT,DELETE on table?I have tested growth on test table which has 25 milion rows of 4 columns, each type int. Whole table...
View ArticleUpgrading 2008 Standard Edition to SQL Server 2008 R2 Enterprise Edition
Hi All, We need upgrade our SQL Server 2008 Standard Edition to SQL Server 2008 R2 Enterprise Edition, i have gone through couple of links as below....
View ArticleScript to shrink the database file size
Hi, I wondering if its possible to shrink the database files if the database size reaches certain threshold. Also, is it a good practice to shrink database?
View ArticleSQL server instance getting corrupted.
Two months back, the SQL server instance which we were using got corrupted and getting the Error 26. We had contacted MS and they recreated the SQL instance. Yesterday the same issue repeated again....
View ArticleHow I need to run procedure in every database
How can I execute stored proc in every database?
View ArticleProcedure for giving range of unique identity values produced duplicate ids...
Hello, we use the following (german) sql2008r2 environment =================================================== Microsoft SQL Server Enterprise Edition (64-bit) Microsoft Windows NT 6.1 (7601) NT x64...
View ArticleDatabase/table repair
I want to repair the one database table and it size is almost 700 GB and running on SQL 2008 R2 instance. i set to tempdb as auto growth.when i ran dbcc checktable and with an hour tempdb disk drive...
View ArticleDifferential Backup getting failed and the error: Msg 3035, Level 16, State...
Hi,We have configured Weekly Full Backup & Daily Differential backup through maintenance plan in SQL Server 2005 with SP3 and it was working fine till this Tuesday.On Wednesday the Daily...
View ArticleTuning Log Shipping Agents on SQL 2008 R2
I've got a server that's hosting about 100 log shipping secondary databases. I frequently see messages like this in the sqlagent.out file."2012-03-23 08:00:11 - + [398] The job (LSRestore_dbname) has...
View ArticleEVENT SESSION practical usage
What is an EVENT SESSION and the purpose of it. What purpose and advantage does it serve?I created a test EVENT SESSION and did not see it in SSMS 2008 R2, but I see it created by doing the query...
View ArticleReorganing and Rebuilding Indexes and the Transaction Log
We are running SQL 2008 SP2 64bit on Windows server 2008. We have a few large databases that we need to reorganize or rebuild the indexes. The situation I am having is that the Transaction Log grows to...
View ArticleSQL Server Fast Track Datawarehouse server, performance issues..
Hi,We have a fastrack dw server, 256 GB memory, 48 CPU(physical 8*6), about 12 TB data.When i run this query to see the granted memorySELECT mg.granted_memory_kb, mg.session_id/*, t.text, qp.query_plan...
View ArticleGraphical Execution Plan not displayed
Hi,I am on 2008 R2 SP1.I am trying to see execution plans for my stored procedures which are cached in memory.I queried some dmv which displayed a link to see the execution plan. But when I click...
View Article