import/export database in sql server 2008
hello guysi am developing a desktop application with a colleague.my own machine got crashed and now i want to import the database from his machine.please note the two machines are both stand alone and...
View ArticleMost accessed tables in SQL server
Is there a way or a query that I can find out in the past year what tables and view are most accessed or heavily used?Thanks,SQLFriend
View ArticleMemory Utilization On Named Instances
Hi Team,SQL Server we have 3 instance 1.Default Instance 2 Named InstancesDefault Instance we have allocated only 5000MB RamNamed Instances we have allocated around 12000 and 12000 Ram is 35 GB as per...
View ArticleSql Server Data :Loss
Hi all,May i know can we get the data which is truncated and committed. If yes, Where does the truncated data stored in sqlserver. Is there any kind of redo logs in sqlserver to get the...
View ArticleWhat can cause a SQL Server Account lock out?
I'm facing some problems with a locked out account and I believe it's not being locked out due to password issues. Although it may be.So I was wondering what can cause an account to be locked out in...
View ArticleStrange error encountered when creating a job
I was trying to create a new job in SQL Server Agent and got the following error. Googling hasn't helped. I'm running Windows 7 and SQL Server 2008 R2.TITLE: Microsoft SQL Server Management Studio...
View ArticleIndex fragmentation and ghost leaf relationship
From what I understood, when a row is deleted, SQL engine only logically deletes the row by marking the record as ghosted. Then at some point the background ghost cleanup task will remove the slot for...
View Articlewhat's the meaning for the extent changes for the an Density
from the msdn ,the definition of Scan Density is "Best count is the ideal number ofextent changes if everything is contiguously linked. Actual count is the actual number ofextent changes. The number...
View Articleuse of FileTable causing the slow down of file copy or creating files?
Hi!I'm using SS2012I have created a filetable. My program that creates some files runs slower when the share is a file table share instead ofa normal share without file table (both shares are on same...
View ArticleSupport SQL Server 2000 compatibility after April 2013
Will Microsoft support 2000 compatibility after April 2013?
View ArticleCan we specify Isolation level for Job or Linked server
Hi,We have a job that have 40 steps and we are running stored procedures that have queries referring other server/database using linked servers , we need to run the job in read uncommitted isolation...
View ArticleRe:attach and detach problem
Hi team,i have one database some space issue problem i detached the that db .and move those .mdf and .ldf files to another location after that i tire to attach the that database i am facing the bellow...
View ArticleSP with recompile but no events in profiler
I put "with recompile" on an SP. Now it runs about 40ms slower, so it seems to have that effect, the overhead of the compile time. I can see it with "set statistics time on". But it does not...
View ArticleCannot obtain schema rowset ERROR - from 2008 64-bit to 2005 32-bit
Error Msg 7311:"Cannot obtain the schema rowset "DBSCHEMA_TABLES_INFO" for OLE DB provider "SQLNCLI10" for linked server "Server2005". The provider supports the interface, but returns a failure code...
View ArticleSQL consistency based I/O error, help needed
Hello everyone.I'm new to database errors so I'm not really sure what I should do next. I'm using an accounting program running on SQL Server Express 2005 (9.0 SP3) on a Windows Server 2008R2. While...
View ArticleSimple COALESCE(...VALUES...) throws severe error on SQL Server 2008
The following simple statements throws a severe error:SELECT COALESCE((SELECT Wert FROM (VALUES (NULL)) AS Werte(Wert)), NULL, 2)If reformulated with (nested) ISNULLs, the statement works.Is this a...
View ArticleSuppress Full Text Catalog informational messages?
I see alot of the following messages in our SQL Logs:Changing the status to MERGE for full-text catalog "ftConsolidatedIB" (8) in database "DeviceInfo" (24). This is an informational message only. No...
View ArticleDifferential Backup suddenly fails with Msg 3035, Level 16
We have SQL 2005 with DB in Full recovery mode.We have full DB backup done early every day followed by differential backup at regular intervals during the day.After working for years, for unknown...
View ArticleTempdb and SQL Server Agent
Hi,I have an admin on site that I am working with that is stating that SQL Server Agent needs to be running for tempdb to be able to do processing.There is no job running that is enabling an object...
View Articlesys.dm_io_virtual_file_stats- Negative Numbers in the sample_ms Column
I have a 64-bit Windows Server 2008 R2 running 64-bit SQL server 2008 R2 version 10.50.4260. I'm seeing negative numbers in the sample_ms column when I query sys.dm_io_virtual_file_stats(). According...
View Article