Welcome to SSQA.net Sign in | Join | Help

SQL Server Storage Engine & Tools (SSQA.net)

SQL Server Tools includes storage engine that includes a complete set of graphical tools and command prompt utilities that allow users, programmers, and administrators. SSMS, SSRS, SSIS & SSAS are most commonly used tools.

August 2007 - Posts

Problem with migrating database from a SQL Server Evaluation edition to a purchased version
During a user group meeting one of the user asked that If we were to migrate our databases over to the evaluation edition of SQL Server 2005, is there a way of upgrading to the purchased (licensed) version (before the 180 day expires) without uninstalling Read More...
Failed to claim unused space with SP_SPACEUSED?
Recently I have been stumped by not cliaming unused space correctly even though after delete handful of rows on a table. You may be aware using SP_SPACEUSED will get you details such as : Column name Data type Description database_name nvarchar(128) Name Read More...
How many DBAs you need to manage show in multi-server environment?
This sounds like a joke that "How many DBAs you need to change a light bulb?". I have come across this less technical question from SSP forum asking for recommended practices. They wanted to have information that How many servers should be managed by Read More...
Setting database compatibility to SQL 2000 on a SQL Server 2005 instance?
No doubt that as compare to previous version the current SQL Server 2005 provides more new language constructs and primitives for the T-SQL language than can be utilized. Still there are many out there not entirely ready to upgrade from SQL Server 2000 Read More...
SSIS Error: Text was truncated or one or more characters had no match in the target code page
This error started generating since last 2 days on a scheduled job that uses SSIS to import content from a flat file. Eventually we found that a derived column within the table and the flat file flow where dates in YYYYMMDD are changed to MM/DD/YYYY format. Read More...
Error = [Microsoft][ODBC SQL Server Driver]Unexpected EOF encountered in BCP data-file
When you use BCP then you would definelty get to see this error "Unexpected EOF encountered in BCP data-file". Not only that I have seen this as one of the frequently asked questions (FAQs) and for a moment you might be thinking why there is an end of Read More...
Move tempdb and don't want to use Detach method!
A new Developer within our testing environment asked me this question to see whether they can use DETACH/ATTACH method than using ALTER database method. For the user databases it is available such method of DETACH/ATTACH method when moving the databases, Read More...
Multiple transaction log backups or Single transaction log backup file, which is better?
Say which is better, having multiple transaction log backups files or single transaction log backup file during a recovery point of time. In my experience both of them doesn't make any difference and if you are performing further backup to tape then ensure Read More...
Property IsLocked is not available for Login '[x]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo)
One of my colleague has been getting following error when trying to open few logins properties to change their default databases using SSMS. TITLE: Microsoft SQL Server Management Studio ------------------------------ Cannot show requested dialog. ------------------------------ Read More...
Reporting Services setup in Vista, simple resolution
Recently on our Development platform we have deployed the Vista operating system to test an application against this installation. Part of the project is to deploy reports for the users using reporting services components, I was able to fix the issues Read More...
How many languages are supported within Full Text Search in SQL 2005?
During the deployment of new project for an application that is accessed worldwide by one of my client. Ther were looking to implement Full Text Search as well due to the nature of application. For your information SQL-FTS: SQL Server Full Text Search Read More...
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()). [ODBC SQL Server Driver][DBNETLIB]Specified SQL server not found
--------------------------- Microsoft SQL Server Login --------------------------- Connection failed: SQLState: '01000' SQL Server Error: 11004 [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()). Connection failed: SQLState: '08001' Read More...
Dig further for a process (SPID) using Query Analyzer (SQL 2000 version specific) not DBCC INPUTBUFFER though.
Based on this Troubleshoot a process (SPID) using tools & TSQL queries blog post I have been asked to provide same information within SQL Server 2000 version, as that talks about SQL 2005 version specific. Within SQL 2000 to troubleshoot further about Read More...
Get basic Database Mirroring information- principal or mirror
SELECT DB_NAME(database_id) AS 'DatabaseName' , mirroring_role_desc , mirroring_safety_level_desc , mirroring_state_desc , mirroring_safety_sequence , mirroring_role_sequence , mirroring_partner_instance , mirroring_witness_name , mirroring_witness_state_desc Read More...
SQL Server Licensing for a quad CPU server, a mystery?
Microsoft Licensing methods for SQL Server is always a mystery! Though visiting HOWTOBUY says what type of license choose but nothing much to understand. Scalable link explains bit more than that page. Still I have to search for a quest on how many processor Read More...
What is the difference between having a char vs varchar column as part of a primary key?
As it sounds this is an interview question, but if you look at the logical level of nothing much changes. There are two major concerns using such way, Performance and Storage space. In this using fixed char fields can be queried faster than varchar fields. Read More...
Book: Inside SQL Server 2005 readers awaiting for latest volume
Feedback about previous books. I would like to share my community about KalenDelaney's note on the latest volume of this valueable resource : Inside SQL Server 2005. Query Tuning and Optimization Read More...
Database Compatibility version numbers juggling from 40 to 100
A stream of database compatibility numbers has come up to my mind while we are performing few configuration changes to the database to support a legacy application that can work upto SQL Server 2000. So what number we used during the days of SQL Server Read More...
Changing database recovery models: FULL to BULK-LOGGED and vice-versa
Since SQL Server version 2000 better enhancement of three types of recovery models: simple, full and bulk-logged are fetching long-run support for all kinds of database activies. As you know such recovery models offer varying levels of recovery for restoring Read More...
Error: Could not find row in sysindexes for database. 8966, 823 and 602
Long ago, not long ago.... No doubt that many of you might have gone through the error above within your SQL environment, also I see many forum posts out there to resolve the issue. The bottom line of this issue is Hardware and no other issue can contribute Read More...
How to get updated page or row count information for the current database?
DBCC UPDATEUSAGE (0); GO Best practice to use DBCC UPDATEUSAGE i ntermittently and must if you have upgraded the database from SQL 2000 to 2005. The usual working fashion of this DBCC statement is to correct the rows, used pages, reserved pages, leaf Read More...
SQL Server does not exist or access denied
I hope you will get to see the above error message most often and I say a common question among forums & newsgroups. Few times you might be thinking why it is throwing error even though you are using right credentials to access that SQL Server instance. Read More...
sp_sqlagent_get_perf_counters: what are they and how to remove them?
Within your SQL Server environment many times you might have observed sp_sqlagent_get_perf_counters running within the Profiler trace, sometimes they may result in high CPU conditions. They are demo alerts to test whether the alerts are working within Read More...
Cumulative Update 3 for SQL Server 2005 Service Pack 2 - watch this space
Yet another information on cumulative update for SQL Server 2005 Service Pack 2 installations and make are note of the following: This cumulative update package will be released in August 2007. The information that is presented here is subject to change Read More...
SQLMail vs Database Mail - which one to use?
Though SQL Server 2005 has been evolved much having the flexibility of sending emails from SQL Server is a general practice within a database environment. To just overdue on the concept, SQL Mail uses Extended MAPI client components from an external e-mail Read More...
When to use mirrored server as a reporting server?
IN the case of production server which is running 24/7 and can't afford any downtime, it is good to keep the mirrored server for reporting purpose. Say if the requriement is to have r eporting server that should be updated with data from production server Read More...
Error: Property MustChangePassword is not available for login
If you have stumbled with the error "Error: Property MustChangePassword is not available for login.." or same as the picture show below: To solve the issue either you have to take out the "enforce password policy" using SA privileges or if you are the Read More...
Msg: 2522 The index "<name>" (partition 1) on table "TableName" cannot be reorganized because page level locking is disabled.
All of sudden the re-org of an index started failing and no error was displayed within that scheduled job we execute. After executing the code from Query Editior I was able to get the message as follows: Msg 2552, Level 16, State 1, Line 3 The index "<name>" Read More...
Restore corrupted database - any clause using RESTORE statement?
Do you know you can try restore a corrupted database backup using simple clause within RESTORE statement. You may be aware that SQL 2005 version can perform an optional computation a backup checksum on the backup stream; if page-checksum or torn-page Read More...
Deadlock not logged even though using relevant trace flag?
To my surprise a deadlock information is not logged on SQL Server log, after a struggle for half-day I found that the startup parameters were messed up! It may be usual practice by adopting [ ; -T1204; -T1222 (with blank after semicolon) ] that is what Read More...
Dedicated Administrator Console (DAC) - saved an important day for a DBA
Until recently I have just used Dedicated Administrator Console (DAC) to connect just to test whether the connection will be successful. You may be aware that only administrator will be able to access a running instance of SQL Server Database Engine to Read More...
FULLTEXT catalogs and BACKUP - behaviour in SQL Server 2005
There should be no special consideration to perform BACKUP activities within your SQL Server environment. But if you are using FTS with full-text indexes/catalogs then you should be concerned about point-in time recoverability with the backups. You may Read More...