17 GB of data but database is 290GB WHY????
I ran the below query and it came up with 17GB of data. My database is 290GB. This doesn't make sense. I know because of all the other object of course it would be bigger but not that much bigger. Does...
View ArticleYou can be our next Spring SS DBE Guru !!
In the northern hemisphere at least, Spring is here! (apparently)And at TechNet Wiki, we're hoping you're all hatching new ideas for this month's TechNet Guru competition!We're looking for more shoots...
View ArticleFind out any codes doing the insert
Hi, Is there one way to find out, if there are any codes/process within the relevant schema, which are doing any insert into one specific table?Many Thanks & Best Regards, Hua Min
View Articleerror message when trying to create any query
I am trying to run a query on my sql server and get the following error message: "An error occurred while executing batch. Error message is: The directory name is invalid." how do I fix?
View ArticlePowerShell - scripting - skip Encrypted\CLR Stored Procedures
Hi all,Forgot where I got the code below from but, how would I skip Encrypted\CLR procedures because, I get error below...MessageExecuted as user: Loginname A job step received an error at line 81 in a...
View ArticleMulti server administration MSXOeprator not getting notified via email
I created mutli server jobs and they are working fine except that I don't get any notification via email.The target and master are configured with DB Mail and it is working fine. But for the multi...
View ArticleSQL Server Resource Governor
We have a SQL Server with about 15 databases and about 60 + users accessing any of these databases. Each database is designed to serve different data set (meaning - we have multiple roles in each...
View ArticleAntivirus and SQL -- "to do or not todo"?
I was reading through http://support.microsoft.com/kb/309422/en-usand plan to adopt its suggestions NOT to AV scan certain file SQL (2008) file extensions:>>>>>>>>>mdf, ldf,...
View ArticleLinked Server Error from SQL2008R2 to SQL2000
I am trying to Execute Query/SP from my local machine which SQL 2008R2 To SQL 2000 32 bit. Created Linked Server from Local machine to SQL2000 Machine..Query /SP run fine from SSMS but when I am trying...
View ArticleMSSQL 2008 R2 - 32bit, TSQL backup with compression, error: There is...
Hello,I would like to ask you about advice.We have MSSQL 2008 R2, 32 bit. Memory is 4GB, split into 2GB for Windows and 2GB for applications. Database has recovery model simple because we have...
View ArticleSQL Server selection of a particular index
Hi,I am still puzzled on how a particular index is being selected in SQL Server. This is especially for non-clustered index. It seemed that the selection of the INDEX columns and INCLUDE columns in the...
View ArticleHow best to reorganioze SQL Server database
My largest database has grown to 1.4 terabytes and need to be restructured because of I/O performance issues.The data was originally spread out across 4/ 250 GB LUNS and have now grown to 6 files of...
View ArticleGet query result in E-mail
Hi Everyone,I am trying to get SQL Query Result in e-mail with proper format.I tired DB mail but result is not in proper format . It's hard to read from attachment. From Below Query HTML format showing...
View ArticleJust curious which answer in this scenario is correct and why ?
You administer a Microsoft SQL Server 2012 server. One of the databases on the server supports a highly active OLTP application. Users report abnormally long wait times when they submit data into the...
View ArticleWas MSDE supported on POSReady 2009?
I need to migrate a system off XP and onto POSready 2009 so it is on a "supported" platform.The application on this system also uses the MSDE SQL DB and is not going to be updated. A replacement...
View ArticleDatabase Shrink Error: 8985
Hi All,Version: Microsoft SQL Server 2008 (SP3) - Enterprise Edition.While performing the DB Shrink, I get the following error on both the editionsEnterprise and Developer. Recently I have upgraded the...
View ArticleService Account for SQL Server Agent on SQL Server 2008
This SQL Server instance is SQL Server 2008 (10.50.4000). We had Active Domain Service accounts created to run the service accounts for SQL Server and SQL Server Agent.It has become company policy to...
View ArticleProblem to select
Hi, I get these when trying to select from table. what should be granted to the login?Msg 916, Level 14, State 1, Line 1 The server principal "ws_login" is not able to access the database "my_schema"...
View ArticleService Account for SQL Server Agent on SQL Server 2008 R2
This SQL Server instance is SQL Server 2008 R2 (10.50.4000). We had Active Domain Service accounts created to run the service accounts for SQL Server and SQL Server Agent.It has become company policy...
View ArticleSQL services use 100% Harddisk when queries
I developed my own app to query the data from MSSQL I use MSSQL 2008 R2 when I run the query in MSSMS, it's work fine and has very fast response but when I run with C# application (integrated query...
View Article