Storing Emails in the database
One of my client is storing the emails on Varbinary(max) column, it has to be kept in the database for at least 10 years and as you can imagine, database is becoming huge (with an year's email , its...
View ArticleAUTO_UPDATE_STATISTICS_ASYNC ON or OFF for OLTP database?
What is the final verdict? I believe Glenn is for enabled (ON) even when statistics updated nightly as a job.NOTE: Auto Update Statistics must be enabled (ON) for the asynch option to work.Related...
View ArticleReady Time out error in application log
Hi All,Recently application are throwing below error when they are connected to databases engine.Application and Databases are two different servers.SQL Server Version: SQL Server 2012 Enterprises...
View ArticleNeeds to configure the sql jobs with SA permission.
Hi team,we have one requirement,that is one db developer asking to me to create a one sql server login with SA permission,we told this is production server we are not give the SA permission we give...
View ArticleThe process cannot access the file because it is being used by another...
In Sql server 2005 dev edition observing the followed error.SQLServerAgent Error: The process cannot access the file because it is being used by another process. [SQLSTATE 42000] (Error 22022)....
View ArticleHow can i schedule sql job to start everyday at 1am and stop at 4am?
Hi,I have requirement to schedule the job to run every day start at 1am and stop at 4am.I couldn't find the the setting in sqlserver schedule setting.Any thoughts?Thanks,Ron.
View ArticleRUnning sql job under non-winodws account
Hi all, I am pulling data from a source system(non-sql server) using SSIS. I am given a user name and password to connect to this system using ODBC. Can I create a sql server job and run this job under...
View ArticleMulti Server administration error
Hi, I have configured a Master server and when im creating a maintenance plan and while saving it, im getting the following error"This Maintenanace Plan cannot be distributed because it has tasks...
View ArticleSql Server Name and restoring databases
Hi, We have to restore a database from a dead Win2k3 server. We can re-attach the databases just fine, but our software calls to Server=subdomain.example.com;Database=soandso;When I install SQL Server...
View ArticleHow to re-construct PFS page in corrupted database
Hi All,I am troubleshooting one database in which some pages are corrupted. As Paul say we can re-construct the PFS_PAGE( please refer the below url), could you tell me step by step please how to...
View ArticleHow to clear a lock
Database has a lock that is preventing users from using it. How do I clear this lock?
View ArticleMicrosoft SQL Server 2012 Standard Error 233 and 18456
SQL Server 2012 Standard on Windows Server 2012, all updates installed.When using Visual Studio SQL Server Management Studio and using the Connect button in an attempt to connect to the database engine...
View ArticleMissing Default Backup in Database Settings of Management Studio
I just installed a new SQL Server 2008 Enterprise Edition R2 with several instances. In the database settings in the properties of the servers, the default path of the backups is missing. I've never...
View Articlechange single user to multi user
Hi,I put the database ABC in single user mode through SSMS, now when I am changing back it to multi user, I get below errorMsg 1205, Level 13, State 68, Line 1 Transaction (Process ID 127) was...
View ArticleWhich user for a contained database - SQL Server 2012
Hi,if I've a contained db and I need to create an user for this db in order to porting this contained database to different servers inside the same domain, which type of user do I need to create?For...
View ArticleMemory dump files are creating in Sql server 2008 log folder which occupying...
Hi All,Frequently we are facing the issue with memory dump files which will creating space issue on the drive...Each dump file occupying around 100 or 200 MB and it will creating every 1 mint..please...
View ArticleBatch Files user/password v3
Hello, My initial issue was inserting my passoword/username, which I resolved. Now my issue is running the query. Any suggestions?Below is the code:@echo off color 2 cls echo this code opens winsql,...
View ArticleFind Report Name based on Report ID
How do I find out the report name based on the report id ('D12C939B-4309-4364-A025-BFDB5203EE0B')?
View Articleenabling Change data capture on database
While Enabling CDC on database I am getting below error, Can any body help me please... Msg 22830, Level 16, State 1, Procedure sp_cdc_enable_db_internal, Line 193Could not update the metadata that...
View ArticleSQL Server Database Connectivity with Visual Studio 2012 - Help Needed
Hello,I am having Visual Studio 2012 and SQL Developer 4.0 installed on my system with Windows 8 - 64bitI want to shift a VS project with an SQL database connectivity to another new Laptop (above...
View Article