Restore database issue
Hi all,I am trying restore on sql server 2008 databse with sql server 2005 database backup with standby recory.But i got error while restoring.The error is discribing following."The backup can not be...
View Article(type LOB data) with (type In-row data)
I have a couple of errors while running DBCC CHECKDBMsg 8965, Level 16, State 1, Line 1Table error: Object ID 530100929, index ID 1, partition ID 72057594062962688, alloc unit ID 72057594047168512...
View ArticleSQL 2012 Design Advice
I'm currently a sysadmin who's been given a database consolidation project. I have a plethora of small databases (the vast majority are under 10GB, with a handful between 30 & 100GB). Most of the...
View ArticleCannot connect to the server issue
Hi folks. I'm having a problem with my SQL Server. I had the Express version up and running for class, then ran into an exercise that needed Enterprise. Now that I have Enterprise downloaded and...
View ArticleCPU occupies 100 percentage on sql server
Hi All,If sql server is consuming 100% cpu, generally the sever is responding slow so how can we trouble shoot? some times on my server cpu consumig 100% so i want to resolve this issue, incase if...
View ArticleSQL Server Memory
Hi, I m trying to get memory usage on one of our Database servers. SQL Server 2008 R2 (64 bit), 130 GB memory (112 GB assigned to SQL), 8*4 processor core. Only SQL Server running on the boxI got...
View ArticleReg data partition
Greetings,I'm new to SQL Server, I was studying about table partition, I am not able to understand how the left and right functions work, I went through many sites but not clear. Also when defining a...
View ArticleSQL Statements
Hello,I created 3 SQL Statement saved with Microsoft SQL Server Management Studio in C:\Users\userservice\Documents\SQL Server Management Studio\Projects as SQL1.sql, sql2.sql, sql3.sql and I would...
View ArticleNeed to Create Monthly Partition (for 1 years Data) on Existing Table. Need...
Hi All,We have few tables with very huge data & giving performance related issue during load, Extract. So decided to go for Table Partition in 2005. I have gone through many forum & got idea...
View ArticleSQL 2005 clearing tempdb with dbcc DROPCLEANBUFFERS & FREEPROCCACHE
I have a few bad reports that cause tempdb to fill until I run out of disk space (work tables, not user defined #tables). I have used these two commands after a checkpoint in the tempdb to clear it...
View ArticleIs there bug with cdc.fn_cdc_get_net_changes_.... in SQL Server 2012
I was pretty much following MSDN to get net changes for the CDC enabled table for given date; refer to my earlier question, but was not able to figure what the error was.Here is sample script to...
View ArticleHow to find what are the peak SQL queries in the last one month for sql...
Hi All,IS there any way to find what are the peak sql queries that are used in last one month.I want this data for analyze and fine tune our system. RegardsMaheshwar Reddy
View ArticleHow to decrypt SQL server objects, such as Stored Procedure
How to decrypt SQL server objects, such as Stored Procedure
View Articlewhat's the meaning for the extent changes for the an Density
from the msdn ,the definition of Scan Density is "Best count is the ideal number ofextent changes if everything is contiguously linked. Actual count is the actual number ofextent changes. The number...
View ArticleWhat the meaning of Dead Latches?
What the meaning of Dead Latches?Site: http://www.sqlpassion.at/blog/CategoryView,category,SQLMCM.aspxDead Latches are possibleBugs inside SQL ServerDead Spins are not possibleYou can't acquire a Spin,...
View ArticleA bug in "not in" query
Please note the code block below:There are two tables called outer_table and inner_table.The table inner_table has two columns aband bc; but in sub query (first and second subquery) i have used it...
View Articlewhat is the RAM memory limitaion for 32bit... on sel server 2008 and win -2008
hiiiii... i attended interview... interviewer asked regarding memory. i ddnt answer. pls explain ..... 1. what is the RAM Limitation for 32 bit , sever-2008 and win-2008 server. 2. what...
View ArticleSQL Connection Intermitten Disconnect
Hello,Currently we had encounter an issue as our Web Application capture an intermiten disconnect issue to our SQL Server. We using SQL 2000 SP4 that running in Windows Server 2003 R2. I would like to...
View ArticleHow to get execute user information from "sys.dm_exec_sql_text"
Hello,Some day ago, my database lose data. Somebody delete rows in table by "Microsoft SQL Manager tools" so i can't trace what they do.I using SQL, get history of statement executed. But how to know :...
View Articlewhat is RAM configuration for 32 bit and 64 bit
hiiiii... i attended interview... interviewer asked regarding memory. i ddnt answer. pls explain ..... 1. what is the RAM Limitation for 32 bit , sever-2008 and win-2008 server. 2. what...
View Article