sp_send_dbmail fails when query uses linked server
I've seen this discussed in another thread however a solution was never found. This came up after we applied the SQL Server 2008 R2 SP2 patch to our DBMS which had previously been at 2008 R2 SP1. The...
View Articlebatch size for insert into tab1 select * from tab2?
database is in simple recover mode, but as tab2 is very big, the log is still very big, is it possible to set a batchsize for the sql insert into tab1 select * from tab2.if we can, say set it to 1M,...
View ArticleMVCC/read_committed_snapshot and tempdb
We're looking to implement MVCC/READ_COMMITED_SNAPSHOT in our high-transaction databases. We understand from documentation that this will require more tempdb space to manage the snapshots of the data...
View ArticleSQL Server Maximum Memory setting
SQL Server 2008 R2 Accidently set maximum server memory to 0 (ZERO). Now there is not enough memory in default resource pool to recitify. Heeelp!
View ArticleSQL server agent restart itself
Recently we have two SQL servers 2008R2 (SP1) experiencing a random restart of SQL agent. We are sure no one restarted but it restarted by its own and runs fine ever since. By looking at the error log...
View Articlelinked server to mysql can show tables but not select from table
Hi everybody, I have a question about linked servers. my procedure is as follows: I want to select data from mysql database through a linked server, I use a stored procedure that takes a query as...
View ArticleSQL Jobs failing
I have a situation.For the past week, most jobs on our Development server, have been failing with the following error: Message Executed as user: SPIRIT\SRVC_SQL_AGNT. Microsoft (R) SQL Server Execute...
View ArticleHow to find empty views in a database in sql server2000
Hi all,how to get list of views which doesn't contain any records in a database in sqlserver2000please help methanks in advance,kishor.
View ArticleFiring custom assembly
Hello,I have an unsafe assembly that executes/exits any exe file the user sets upTo start an application would be:"EXEC sp_myassembly @path='notepad.exe", @start=1;"To exit:"EXEC sp_myassembly...
View ArticleServer hangs
i had installed IIS 7.5 & SQL Server 2008 Std on Windows server 2008 R2 Std. over IBM Quad Core server with 12 GB RAMthe application is accessed from 18 locations over intranet wan and over 100...
View ArticleJob History Retention
Hello All,I have 34 jobs on my sql server production environment. Some of them run almost once every 10 mins. The issue is I am only able to hold only one entry in the jobhistory for any job (whether...
View ArticleNightly Backup failing on only 2 databases - But backup when run manually
Hello,On our nightly maintence backup of our SharePoint 2010 server, two databases fail with the following errors. Indicates that the error is disk space but that is not the issue. All other databases...
View ArticleVersion of sql server
I have an issue identifying the version of software that was installed on my production server. When I run select @@version I get the following output: Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0...
View ArticleIndex Size - SQL Srvr 2000
Hi Techies,How to check SIZE of the Index for a particuklar database in SQL Server 2000. Need a SQL Query.MRVSFLY
View ArticleSQL Server not using enough memory
Hi,I have a machine running SQL Server 2008 R2 on Windows Server 2008 Enterprise R2 (64 bit). The server has 30GB RAM, with SQL Server max memory set at 24GB and min memory at 0. Whatever demands are...
View ArticleResource Governer
SQL Server 2008 R2 - Windows 2008 R2.I am little bit confused by resource governer. Is this tool used to limit the resources or increase the resources ?. I am trying to give an instance on the server...
View ArticleLock Release in SQL Server
Hi All,In one transaction(Thread) i am performing one update and multiple deletes on a table,From other transaction(Thread) i am firing select query on the above table before committing above...
View ArticleSPID 75: transaction rollback in progress. Estimated rollback completion: 0%....
Hi Experts, I am facing an issue after killing a spid which was actually hanged in a job, job was calling a stored procedure to read the sql server log and to send it via email.here is the stored...
View ArticleSSPI Question
I have a laptop computer when I'm at work everything works fine. If I connect offsite through VPN with the same computer I get a Cannot Generate SSPI Context Error when trying to connect with SQL...
View ArticleLinked server(Oracle) problem "Access to the remote server is denied because...
Hi, I have a stored procedure on my sql server that uses a linked server to select data from an oracle database and inserts to a temp table on sql server.When I create a job to exec the sp I get this...
View Article