monitor disk space using alerts
I need to receive an email when a disk space on a given drive (which has SQL DB files) falls below 3 GB:- I need to use alerts (I don't want to use a SQL job to run some SP every x mins).- SQL Server...
View ArticleSQL Server Drive IO Testing
Hi We can test the SQL Server drives IO Performance using SQLIO tool. The command used is sqlio -kW -t2 -s120 -dM -o1 -frandom -b64 -BH -LS Testfile.datHere the drive used is M for IO Testing, In our...
View ArticleIs it possible to converting Snapshot replication to Transactional replication
Hi All,Is it possible to convert the existing snapshot replication to transactional replication?Thanks in advance,
View Articleexec XP_CMDSHELL cannot find store procedure problem
I run EXECsp_configure 'xp_cmdshell', 1Message is"....change from 1 to 1 "Then EXECXP_CMDSHELL 'Dir N:'cannot find store procedure xp_cmdshellI check master database.No dbo.xp_cmdshell under store...
View ArticleUnabe to start SQLServerAgent
Hi I got the below error when I try to start SQLServerAgent==================================Unable to start service SQLSERVERAGENT on server(####) (mscorlib)------------------------------ Program...
View Articlehow to restore database from .bak file on remote server
Server A and server Bone .bak file on server BI need to restore database on server A from that .bak file on server BI Server A has C,D and E driveServer A: Create Z drive as network drive mapped to...
View ArticlePartition function help
I have a partition function created as follows:CREATEPARTITIONFUNCTION[IQPFN_CorpNumberRight](int)ASRANGE RIGHTFORVALUES (1, 6000, 12000, 18000, 24000)I want to now add: , 30000, 36000, 42000 to the...
View Articlefinding difference of two databases
HiI have a webapplication connected to SQL Server 2012 Web Edition.As soon as the webserver is down I start a second webserver, which needs to have the same content, also on SQL DB level.That’s why I...
View Articlebackup is executing on db which is zie 70GB. but it is blocked!!! how to...
hi experts,backup executing..on db... which is having 70GB size..while executing it is blocked...tried to kil session but it is terminating ...!there is any solution..pls share your ideas..!Thanks in...
View Articleactivity monitor/performance dashboard historical reports
We have performance dashboard reports (SQL 2008 R2 ) to get current state of the system i.e. including cpu, resource waits etc. but is it possible to alter it to get it working for past periods. i.e....
View ArticleSend email
Is it possible to send the email from sql server 2012 developer edition..?Thanks,
View ArticleSQL prefMon Counters
Hello ,I have collected all my SQL Server counters to check the performance as below image shows , but actually I don't know what is the next step should I start analysis figures or I have to do...
View Articlesql
Please find solutions for - A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance...
View ArticleLinking tables of different database in same server.
Hi My req is to update a table which is linked to a table of another database in same server. I am new to this and I read about sp_addlinkedserver and Synonym. Now i am not sure which 1 to use in my...
View Articlesql server partition parent table and reference not partition child table
Hi, I have two tables in SQL Server 2008 R2, Parent and Child Table. Parent has date time, and it is partitioned monthly, there is a Child table which just refer the Parent table using Foreign key...
View Articlesql server table partion each month
Hi Team,I have a table which has to keep data of 3 months. Month by month partitoning is needed here.A scheduled job has to run everymonth(likely first sunday of each month) to add a new partition and...
View ArticleSpread the Love! Be our SS DBE TechNet Guru, this Valentine's
TechNet loves you! We love your contributions at TechNet Wiki sooo much that we give you more than just love in return...We give you NOTORIETY, GLORY... and VIRTUAL MEDALS!That's not all, this love we...
View ArticleSQL AGENT JOB FOR DISK SPACE USAGE ALERT
Hello Expertswhat is the best way to set up a disk space usage alert for my sql server 2008r2 databases. i want to get a notification or alert whenever the disk usage is >80%, thank you as usual.Beli
View ArticleTimeout issue - Linked server
Hi, We have linked server in sql server from AS400. From last couple of days it shows connection between sql server and As400 through this linked server is slow. Sometimes application timeout. How to...
View Article