Remove data (truncate/delete) on tables and Load data SQL Server 2008 R2
OS: Win 2008 R2 SQL Server: 2008 R2Remove Data: 1.How to remove data (truncate/delete) on all tables(arond 800) on database? --The tables have primary,foreign key relationships exists. --Multiple...
View ArticleHow to Retrive the file name from given file path?
The file path:"C:\Program Files\Microsoft SQL Server\MSSQL.1\Samples\Microsoft SQL Server Engine Samples\Full Text Search\ItemFinder\Documents\Crank Arm and Tire Maintenance.doc" I want to retrive...
View ArticleCollation related error
Hi all,I'm getting the following error running an SP in the database:Msg 468, Level 16, State 9, Procedure BuildRank, Line 96 Cannot resolve the collation conflict between "Latin1_General_CI_AS" and...
View ArticleSQL 2012 installation Core and Cal source
Hi ALL, I find there are two source for SQL 2012 download, Core and Cal. What are there difference between two in terms of installation procedure ?
View ArticleVirtual (box) server and SQL Server "LocaHost"
My basics are a bit weak.....Can someone explain to me the following:1) What is a virtual server/environment....I have been assigned a virtual box to which I can connect to remotely using RDC.... So is...
View ArticleUnable to connect to SSMS (2012) in Win 2012 / Microsoft SQL Server, Error: -2
Team,While trying to connect to SSMS the following is the error message and not allowing to connect to SQL Server.TITLE: Connect to Server ------------------------------ Cannot connect to...
View ArticleHow to iterate through multiple linked server to fetch the data for simple...
Hi ALl,I am writing a linked server query in the destination server to fetch data from multiple linked server in the below kind of scenario:SQL query:select * from FACT_SALES where fulldate is not...
View ArticleAssembly binding turned off
Hi,HKLM\Software\Microsoft\Fusion!EnableLog] is missing from my registry and I have problems installing MS SQL 2008 or 2012. It is very important for my study, and i need urgently to solve this.Bojan
View Articlesqlps warning spam
Hi everyone.SQL10.50.2500 I start sql server powershell console (Right click on Object explorer server node:Start Powershell) "sqlps.exe". When it initialize, and when i try to execute any command, i...
View ArticleSQL 2008 R2 update
hi all,i was running SQL 2008 R2 SP1 on a system and i applied this comulative update from herehttp://support.microsoft.com/kb/2679367 trying to fix the problem described...
View Articlewhat does this deadlock graph mean?
<deadlock-list><deadlock victim="process975948"><process-list><process id="process975948" taskpriority="0" logused="1200" waitresource="KEY: 7:72057896813723648 (12b7fb17bed7)"...
View ArticleAre index scans almost as bad as table scans?
Looking through the query plan for a problem-child procedure that Im trying to fix, I see one area that has the largest cost associated with it and its doing a index scan. Sure enough, there is no...
View ArticleWindows Backup Succesful but Inconsistent
I originally posted this message on the Windows Server forum and they indicated that our problem was a SQL issue and I should re-post this issue here. We recently restored our server using the bare...
View ArticleQuery timeout
If am not wrong, the default query timeout of a query submitted to database engine from a .net/java application is 30 seconds. This means that if query runs for more than 30 seconds the sql server...
View ArticleSQL Server 2012 - Cannot Use Network Drive as a Backup Device
Hello Community,I am using SQL Server 2012 and I am trying to add a mapped drive as a backup device, but I am not even to see that drive from SQL Server. Has anyone else had this issue and if so can...
View Articlecompare data
Is there a tool that I can use to compare data in a SQL server database table with a table in Oralce?THanksSQLFriend
View ArticleSQL Server - inconsistent insert speed, fast then very slow
Hi all, I'm trying to diagnose a slow insert that I thought I had fixed but the problem is returning intermittently. It's literally a straight insert statement, it runs every evening and inserts...
View Articlefail over cluster
We have an Active-Passive SQL Server 2008 Failover Cluster installed. Front end is sharepoint. They have two instances on each cluster, one instance is named prod_mssqlserver, the other is for...
View Articlewhere is statistics histogram info stored
When I do a dbcc show_statistics with histogram I get a histogram table. In what view/table is this info stored? Is the table/view accessible through tsql?thanksoldmandba
View Article