Cannot read SQL Server 2008 database - version increased to 661 from 655
I purchased a new desktop computer that had Windows 7, so I installed Visual Studio Express 2010 from an iso image. Now the database cannot be read on my laptop. I then installed VS Express 2010, as...
View ArticleSql server 2008 management studio
Can I install Sql server 2008 management studio into Ubuntu operating system? If not then is there any other option or any other way to use sql database to be open or restore into Ubuntu /...
View Articlewhich one is faster? query from Table or View
I have a transaction table where I have around 1 million records. I have created a view for this table with around 50 other tables joined via foreign key.Now, when I fetched a record using a simple...
View ArticleSQL Exclusion?
Hello,This statement reports 9,765 items select SYS.Netbios_Name0 From v_R_System SYS This Statement reports 6,102 items select SYS.Netbios_Name0 From v_GS_SoftwareFile SF join v_R_System SYS on...
View Article"Deadlock" example follows. Need help with Analysis.
To betterunderstand deadlocks I created a simple example consisting of three Sql 2005 queries, each run in its own query window (different SPIDs). My analysis and questions about the ERRORLOG follow...
View ArticleAny benefit in SQL 2008R2 table partitioning when filegroups reside on the...
Hi,Is there any benefit of table partitioning when the table’s partitions reside on the file groups that stored on the same LUN?Thank you,
View ArticleAny way to predict the query performance benefit of SQL server enterprise...
Hi,We have a SQL Server 2008 R2 standard edition instance with 64 Gig RAM and 4 Core CPUs. We understand that SQL Server enterprise can provide better query execution performance because of the reasons...
View ArticleSQL 2012 SP1 producing deadlocks on sys.query_notification
I have run into a situation on my servers where our service broker setup for query notifications has begun producing deadlocks. The situation is described perfectly in this KB:...
View Articleparallel query DeadLock
Heyi have a deadlock im trying to deal with for a long time and no success i will love some helpthis is my table : private const string CreateLicenses = "CREATE TABLE [Licenses] (" +...
View ArticleHow to stop and restart CHECKPOINT process?
Does any one know the sql script to stop and restart CHECKPOINT process? Thanks.
View ArticleProper Index for Join query
Hi All. I would like to know what's the proper index should create for the join query?select a.col1,b.col2 from table_a ainner join table_b b on a.col3=b.col3and are there any resources...
View Articleset static port 1433 for named database instance on Cluster databaseserver
http://msdn.microsoft.com/en-us/library/ms177440%28v=sql.100%29.aspxNow SQL server browser is already running and requirement is to change the SQL port from Dynamic to static 1433.We have been asked to...
View Article[Microsoft][ODBC Excel Driver] Your network access was interrupted
Im having trouble with this ERROR. SQL##f - SqlState: S1000, ErrorCode: 4294966274, ErrorMsg: [Microsoft][ODBC Excel Driver] Your network access was interrupted. To continue, close the database, and...
View ArticleRestoring FileGroups...
We are currently in the process of designing a Consolidated System (data for multiple organizations stored in one database server) using SQL Server 2005. One of the design goal is to refresh individual...
View Articlepivot Query without using any aggregation
Hi All,I have data in following format--Available data format COlA ColB A abc A bnh A abcd B mklf B jkil B sdadfI want to display it in following format --Required FormatA...
View ArticleList ALL SQL Job schedule
Hi ALLare there script to list all the SQL Job schedules?thanks.
View Articlesql error 602 when attach Database in sql 2000
hi all,i have database in sql 2000 but when attach DataBase in sql get error error 602 : could not find row in sysindexes for database id 7 , object id 1 index id 1 , run DBCCcheck tabel on sysindexes...
View Articlesql server management studio 2008
am using sql server management studio 2008 32bit. i cannot start server agent.. i cannot right click and start
View ArticleTransaction
Hi All,Someone please explain me how can this happen .. I have my own DBA database. Database script is given bellow CREATE DATABASE [DBA] ON PRIMARY ( NAME = N'DBA_Data', FILENAME =...
View ArticleOracle long raw data in an oracle view were truncated when I select the view...
Hi,my issue was very strange. our SQL 2005 server needs to retrieve some data from an Oracle table, the oracle table contains a long raw datatype column. I created a linked server, run "select"...
View Article