How to generate NDF files?
It seems the main file for a database is MDF file. And when MDF file size reaches some limit, then SQL Server will generate associated NDF files. Currently we need to test such a case. Where is the...
View ArticleCan't start SQL Server Browser anymore
Hello,<o:p></o:p>I tried to install SQL Server 2008 Express. An Error message came up that an says that the SQL Server Browser was unreachable<o:p></o:p>I tried to start the SQL...
View ArticleUsing Hashbytes and inserting into a table
Hi All,I want to use hashbytes to generage a hash, and then insert into another table. I'm wondering what kind of definition to use when creating the table.Hashbytes will be used to generate a hash of...
View ArticleQuerying extended Events XML WaitTypes and Duration
I'm querying Xevents XML that I have collected, and there is something that I dont quite understand, my definition is for statements taking more than 100 milliseconds and also get the wait type as...
View ArticleUnable to export the file
Hi,I have used .Net project to insert one image file into my_schema.dbo.user_master.photo_file with user_id = 4.I've got SQLState = S1000, NativeError = 0 Error = [Microsoft][SQL Server Native Client...
View ArticleDatabase Mail (no such host is known)
Hi,I have followed the steps to set up the SQL server 2008 database mail function. I have also created a job to run everyday to send out email. But, it works sometimes and most of the time it does not...
View ArticleDataSet Reading Problem in Thread
I have the Bulk XML Doument which has 10000 students record (assumption) as follows:<school><student...
View ArticleError in linked server :error 0x8000FFFF
HI ALL,I am working on one banking project.We send data to remote server using Linked Server Method.From last couple of days I am facing below problem ,''The OLE DB provider "SQLNCLI" for linked...
View ArticleHow to get the data from different database which is in different instance??
Hi everybody,I have a database server suppose (dbsrvr) and the same server with different Instance suppose (dbsrvr\UAT)Database details:-1. DB_RCS is in dbsrvr\UAT2. DB_DM is in dbsrvrI want to get the...
View ArticleSQL Server- Large Pages Use WITHOUT trace flag 834
I read Bob Ward's post on SQL server and Large Pages (http://blogs.msdn.com/b/psssql/archive/2009/06/05/sql-server-and-large-pages-explained.aspx). He mentions that even without trace flag 834...
View ArticleAlert cannot invoke it's response job
Hi,On an SQL 2005 instance, I have an alert which triggers at a database backup. It raises an alert when the message in the SQL Server log contains the text "backed up. Database". When the alert fires,...
View ArticleReplace BAK file on each backup job
Hi, The thing is that my command doesn´t replace the file and it adds the backup to the previous one, so it grows and grows in the time. Any ideas?thanks!BACKUP DATABASE [mydb] TO DISK =...
View ArticleSQL Server 2008 CDC?
Hello:I have question in regarding to "cdc.DB_cleanup" job. SQL Server 2008 is on latest service packs.retention period is 21600 mins which is 14days. having retention for 14 days, i am still seeing...
View ArticleSCCM - cannot shrink transaktion log file
Hi thereI’ve got some trouble with a growing log of my SCCM DB.I checked the postings like “Cannot shrink log file because all logical log files are in use” but it doesn’t work for me.I set the DB...
View ArticleHow to increase row size in SQL 2008
Hi, While altering my table in sql 2008 standard. It throws errorWarning: The table "t1_Data" has been created, but its maximum row size exceeds the allowed maximum of 8060 bytes. INSERT or UPDATE to...
View Articlehow to track down primary key violation problem
We have a specific file from our application that cause PK violation on our SQL 2008 server. I would like to track down what those fields are and I know which DB and table those field resides. The...
View ArticleBackups and Alwayson
We will be upgrading our server soon and we will have a hardware standing doing not much. Currently we are having hardtime fitting DBCC and Backups fit in our weekly schedule. I found out backups and...
View ArticleDB Failover
Hi Team,Last night we have failover in the log we found these things please find the below spid333s AppDomain 4 (mssqlsystemresource.dbo[ddl].3) unloaded. spid53 AppDomain 5...
View ArticleSQL Database after agent start there is a loss of network connectivity
We have an sql db that when the db starts, the server (windows 2003 sp2) has no network connectivity.When whe stop the services the network comes back.Any clues on this?
View Article