Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


Archived Months
March 2003
April 2003
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
all groups > sqlserver server > july 2007

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

sql server 2000 with 2005
Posted by Abhi at 7/31/2007 11:38:12 PM
Hi all, First question: I have machine with sql server 2000 installed my question is can i install sql server 2005 on the same machine and can i use use both Simultaneously Second question: what is difference single # and double ## in sql server 2000 Thanks in advance Abhi ...more >>


How to connect instance on local server
Posted by YesGoGoGo at 7/31/2007 8:35:23 PM
hi! I have a question about connecting instance on local server I install MS SQL Server 2000 first and then install MS SQL Server 2005. 2005 has an instance name called "2005" I use Microsoft SQL Server Management Studio and log into 2000 I want to select data from 2005 so I write a script ...more >>

Linked Servers
Posted by bpdee at 7/31/2007 5:14:10 PM
Hi, We have the following code to automatically create the linked server in one of our upgrade scripts. declare @Security_dbname nvarchar(128) -- This is the security database name declare @Security_Server nvarchar(128) -- This is the Security Server Name declare @Ins...more >>

Management Studio takes 1 minute to start
Posted by Seannerd at 7/31/2007 4:13:25 PM
I did a Process Monitor trace, and found that it hangs twice - 29 seconds between closing the registry key: HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock and exiting the thread, and 18 seconds trying to create \ \10.0.120.21\PIPE\sql\query I'm thinking that this has to...more >>

Empty a Database SQL 2000
Posted by Tmuldoon at 7/31/2007 3:18:27 PM
Hello, Is there a way to export a database and delete the contents of it as it creates the backup - leaving the database intact but devoid of data? Thanks, Tmuld ...more >>

Hyperthreading killing performance of simple query?
Posted by Derrick at 7/31/2007 2:08:54 PM
We have a new server, 4 physical dual core processors, with hyperthreading, so it shows up as 16 logical processors. A simple query joining 3 tables, a distinct, an order by, with maxdop set to 0, takes over 2 seconds. With maxdop set to 1, it takes 200 milliseconds. setting maxdop between...more >>

Log file growth- what's the culprit?
Posted by Jon at 7/31/2007 12:57:21 PM
I have an issue where a database on SQL 2005 (set to "simple" recovery mode) has exponential log growth when I run one particular software service against the DB, it grows by 100-200 megabytes a minute. This service is very simple; it contains several "select" statements (that wouldn't caus...more >>

Maintenance Plan does not show up under Management Folder
Posted by Al Stephenson at 7/31/2007 11:54:02 AM
Hi. I am running SQL 2005 SP2 and when I connect through Visual Studio I do not see the maintenance plan option under Management. I have tried connecting with the SA account and my AD account and neither one has this option. They are both assigned the role of sysadmin. Any thoughts? Than...more >>



SQL 2005 DNS Failover
Posted by Izu at 7/31/2007 11:43:08 AM
We have a mirrored SQL 2005 server. When Server1 fails, we want people to be automatically redirected to Server2. Is this a function of DNS or of SQL Server? How do I accomplish this? ...more >>

SQL Server 2005 Memory Allocation
Posted by guest5 at 7/31/2007 7:22:02 AM
Hi I have a 64 bit server installed with sql 2005 sp2 running with 32Gb RAM. I have setup Lock pages in memory for the sql server service account and run sp_configure "awe", 1. I have also set sp_configure "max memory" to 28Gb. Now sure how I check the correct allocation is been used by sq...more >>

Copy a diagram from a db to another db in sql server 2005
Posted by Isotta at 7/31/2007 7:14:01 AM
Hello, is there a way in SQL Server 2005 to copy a diagram from a database to another one that has exactly the same structure? Thank you in advance, Laura ...more >>

Change port 1433
Posted by guest5 at 7/31/2007 6:08:01 AM
Hi I am trying to change default port on sql server 2005 via sql config manager, but the change is not taking effect even after restarting the services. Any ideas would be appreciated?...more >>

Query error: Protocol error in TDS stream/Unknown token received
Posted by Mark at 7/31/2007 4:36:02 AM
I have had some users contacting me and reporting this error message when refreshing SQL Server queries in their Excel 2003 spreadsheets: "Unknown token received from SQL Server" They are using Excel installed on a Citrix server. My locally installed Excel 2003 returns this error message ...more >>

removing a user from a database problem
Posted by pryan NO[at]SPAM meticulus.com at 7/31/2007 4:19:16 AM
I have followed the procedure in http://support.microsoft.com/kb/275312 to change object ownership so that I can delete a user. This appears to have worked ( subsequent runs tell me that the original user owns no objects and a query on the sysobjects table filtered on their uid confirms this) ...more >>

Performance Monitoring
Posted by Gav at 7/31/2007 12:00:00 AM
I am trying to run some performance monitor counters against our database server and am a little confused by some of the figures. I am monitoring the following Network - Bytes Total/Sec Physical Disk - %Disk Time (Database Drive) Physical Disk - %Disk Read Time (Database Drive) Physical Di...more >>

query progress indicator
Posted by sali at 7/31/2007 12:00:00 AM
having sql2000 on win2000 when running long lasting queries [30 minutes f.e.], and running them async, is there some method to periodicaly check the percentage of completness? i know there is a status indicating when the query is done, but is it possible to know intermediate status? since e...more >>

Can't connect to SQL 2005 in Vista
Posted by KL at 7/31/2007 12:00:00 AM
Hi. I hope someone can give me some ideas. I have a SQL 2005 dev installed in my Vista and I tried to register it from my Win 2003 server which also has SQL 2005. I get a time out message, it seems the server cannot connect to my vista sql server. I already set my vista sql server remote co...more >>

Creating a constraint on a table
Posted by Ivan at 7/31/2007 12:00:00 AM
My table on the SQL 2000 Server has a filed Id which is a (clustered) primary key. There is but another field named Field1 and I wish to define it as unique or it could be Null. How can I manage this constraint with help of SQL Server Enterprise manager direct on the table or with help o...more >>

Changing collation for all columns
Posted by Gaspar at 7/31/2007 12:00:00 AM
I need to change the collation for my database from SQL_Latin1_General_CP1_CI_ASto SQL_Latin1_General_CP1_CI_AI Is the statement "ALTER DATABASE MyDatabase COLLATE SQL_Latin1_General_CP1_CI_AI" enough or should I change every existing fields (how to do it)? Any ideas? Any precautions to ...more >>

SQL Server 2005 SP1 hangs
Posted by CA1 at 7/30/2007 4:34:01 PM
I upgraded from SQL Server 2000 Sp4 to SQL Server 2005 without a problem on a server with Windows 2003 SP2. However, when SP1 was applied the installer hang. All non-essential services were stopped without much success. Any thoughts or suggestion....more >>

Traffic monitoring.
Posted by tc at 7/30/2007 4:09:03 PM
Is there anything built into MS SQL server 2005 Admin that I can view, similar to the Health page in MY SQL? Anything to get me some real time stats would be great. Thanks. ...more >>

String or binary data would be truncated
Posted by obelix via SQLMonster.com at 7/30/2007 2:53:37 PM
I've got an application that passes parms to an insert stored proc. My problem is that I get an error that says 'String or binary data would be truncated'. If I restore a back up of the same DB onto a different SQL server I dont get the error.My initial impression was that there is/are columns ...more >>

get the number of rows exported using bcp
Posted by kraman NO[at]SPAM bastyr.edu at 7/30/2007 2:14:53 PM
Hi, I need to get the number of rows exported through bcp. Is there a simple way to do that? The current code is as follows: DECLARE @sql varchar(8000) SELECT @sql = 'bcp "exec stored procedure" queryout Drive:\path \output.csv -T -c -t,' EXEC master..xp_cmdshell @sql Help i...more >>

db mirroring: why tr. log continue growing
Posted by Gene. at 7/30/2007 1:24:03 PM
hi All I test db. mirroring. While it's working, tr. log continues growing. while I run tr. log dumps regulary, the size of it only goes up. I tried dbcc shrinkfile and shrinkdatabase - it won't help. Does anybody have this experience?...more >>

SQL Server 2000 Max 32 bit Memory
Posted by TMan at 7/30/2007 12:44:00 PM
We had MS consulting come in and do an engagement, the consultant provided a report. It appears the consultant is saying MS on a 32 bit platform (SL 2000 EE) can not handle physical memory on a box greater than 16 GB. The box analyzed by this consultant has 32 GB of physical memory on the bo...more >>

How to retain content of TempDB even if SQL Service restart?
Posted by Javed Iqbal at 7/30/2007 12:32:01 PM
Gurus, I know if SQL Server / SQL Server Services are restarted, TEMPDB is recreated. Is there any option / way to retain the content of TEMPDB even if SQL Server / SQL Server Services restarted? Help much appreciated. Thanks Javed Iqbal...more >>

IN Clause works in Oracle, not Sql Server
Posted by Tom at 7/30/2007 11:50:28 AM
Hi, The following SQL works in Oracle 9, but not SQL Server 2005. Does anyone know of a similar syntax in SQL Server without using an OR clause ? SELECT * FROM idxcst_his WHERE (gvkey,iid) IN (('006066','01'), ('001013','01')) The error is: Msg 102, Level 15, State 1, Line 1 Incorrec...more >>

SQL server and windows authentication
Posted by RTS at 7/30/2007 11:42:03 AM
Does anyone know if there is a way to make a security group the DBO login for a db? What I am trying to do is assign the login id of DBO to a windows authentication group as opposed to a single user. I am using sp_changedbowner and it only allows me to enter a SQL user or a single windows u...more >>

Using Access on a Company Server
Posted by naturelady at 7/30/2007 11:22:01 AM
We have a company server and want to put Access on it for our Sales order people to take orders. I was told if we have less than 10 people taking orders simultaneosly we would not have to have a special license or an SQL server, is this true? Can we just use our own little company server for ...more >>

If Not Exists?
Posted by thejamie at 7/30/2007 11:02:05 AM
Curious about the above: If there is a query that says If not exists(select * from table) versus one that says If not exists(select * from table with(NoLOCK)) Is the second statement more correct than the first (considering that there may be hundreds of hits to that table in a very sho...more >>

Transaction Log Backups Stall forever.
Posted by Marc at 7/30/2007 10:46:03 AM
I see instances where The Log Backups are running for days but actually not doing anything. It just stalls there and sits. This is for SQL Server 2000. I am wondering if this is a service pack 3 issue that was fixed in 4. I just noticed that the one machine was still running 3 but I'm not sure...more >>

srv.sys (system) spikes cpu to 50%
Posted by NewCreature at 7/30/2007 9:35:14 AM
We are experiencing a very strange problem that we are having a problem tracking down. We noticed that we were getting high CPU utilization on our windows 2k box. With Process Explorer we were able to identify the culprit as srv.sys. At the same time we are seeing elevated inbound network traffi...more >>

Deletions from Large Database - Transaction Log Growth
Posted by Rick Olson at 7/30/2007 8:52:01 AM
I have SQL 2005 database, around 500gb in size. We're working on deleting a lot of useless records. In some tables, this could be in excess of 70% of the data. The largest tables are ~82gb, very wide, with wide clustered indexes. I know this sounds bad - we are working toward resolving these i...more >>

Tools resources for Integration Services?
Posted by thejamie at 7/30/2007 6:38:03 AM
DTS packages on 2000 need to be migrated to 2005. Looking for an easy migration. What are some of the resources and tools available? We have about 30 packages so the $25 per package is not an option. More interested in a simple tutuorial - something along these lines. Saw this one alr...more >>

force simple recovery for all new db's
Posted by buster at 7/30/2007 6:16:28 AM
I am running ms sql 2000 for a shared database environement that each department uses for thier own internal database needs. There are roughly 40 active databases, and even the r&d group throws databases up there for testing. I need to know where to go in order to force all new db's to use the...more >>

Network error.
Posted by Taw at 7/30/2007 6:06:33 AM
Hi, I am facing a weird network problem. I am running a SQL 2000 SP2 enterprise edition over a Windows 2003 enterprise edition machine. I am getting the network error messages (see below) while trying to connect to the server. However if i am connected to the server before the problem occur...more >>

Changing Identity Seed
Posted by Aaaaa at 7/30/2007 3:22:00 AM
Hi All, I am using SQL Server 2000 and I am trying to change the identity seed in a table. I want to change this via a script. I have used the following command: DBCC CHECKIDENT (dbo, RESEED, value) where dbo = the table in the database whose seed I want to change value = the value I woul...more >>

Copy database changes without data
Posted by D2 at 7/30/2007 1:36:22 AM
Hi, This requirement is for our development and test environment. We have a database server which we use for development hence many changes are done on the database objects on daily basis like tables def changes, view def changes, sp changes, new sp etc. On the other hand our testing team c...more >>

How to interpret SQL Connection ?
Posted by Peter at 7/30/2007 12:00:00 AM
We just get a connection.txt file from another organization that should be useful for my company. I am new to SQL connection and would like to seek your advice on what does it mean. packet size=4096;user id=HRprocess;pwd=process;data source=DA16\B1;persist security info=False;initial cat...more >>

Optimizing table with more than 54 million records
Posted by Gaspar at 7/30/2007 12:00:00 AM
I have a table that has more than 54 million records and I'm searching records using the LIKE statement. I looking for ways to optimize/partition/etc. this table. This is the table structure: TABLE "SEARCHCACHE" Fields: - searchType int - searchField int - value varchar(500) - externa...more >>

Connecting to SQL2005 express
Posted by Ant at 7/29/2007 10:08:00 PM
Hi, I'm trying to connect to (Northwind) SQL2005 express from VS2005 express edition . When I test the connection, I get the error: "Generating user instances of SQL server is disabled. Use sp_configure 'User instances enabled' to generate user instances". I run sp_configure with the abo...more >>

TOP 1, ORDER BY and save to variable
Posted by Jay at 7/29/2007 9:43:12 PM
Hi, Is there anything wrong with this statement (it is not assigning the correct value) : SELECT TOP 1 @MyVariable = Field1 FROM #MyTable WHERE Field2 = @Value ORDER BY Field3 ASC as opposed to saying... SET @MyVariable = (SELECT TOP 1 Field1 FROM ........ WHERE ........ORDER BY......more >>

Starting up database Every 5 Seconds in SQL Server Errorlog
Posted by Joe K. at 7/29/2007 11:22:00 AM
I have a SQL Server 2000 standard edition database server that has several databases. I noticed in the SQL Server errorlog that several days ago one the databases at approximately every 5 seconds output a message 'starting up database FRCALXO'. What can I do to resolve this error? Tha...more >>

I/O request taking longer than 15 seconds to complete
Posted by Jeffrey Howard at 7/29/2007 8:12:03 AM
We're periodically getting the following error message in the SQL log: 07/27/2007 03:42:19,spid2s,Unknown,SQL Server has encountered 21 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file [E:\mssql\data\centfwamms_log.ldf] in database [centfwamms] (7). The OS fi...more >>

"dynamic" partitioning in SQL 2005 - possibility/speed?
Posted by Sergei Shelukhin at 7/29/2007 7:02:08 AM
Hi. We have a workflow system that has tasks (tickets, whatever). As of today, we have several hundred thousand closed tasks and about 5-7k open tasks. The majority of operations work on open tasks, and the majority of reports are also for open tasks; open tasks eventually become closed, clo...more >>

Log shipping and DB corruption
Posted by Oskar at 7/29/2007 5:56:01 AM
Hi, I've set up two log shipping pairs between three Microsoft SQL Server 2000 SP3 databases: a primary, a main standby, and an auxiliary standby database. For the main standby database jobs that create, copy, and restore transaction log backups run one after another without any delay. Now if...more >>

Error on Migrating to V2000 SQL from V7
Posted by stumpy_uk via SQLMonster.com at 7/29/2007 12:56:37 AM
I have just upgraded to SQL 2000 as per the companies allowed versions and when trying to run an Stored Procedure I am getting the following error. Syntax error converting the varchar value '2165.05' to a column of data type int. The Stored Proc just selects values into a Table, the wierd th...more >>

The conversion of a char data type = error
Posted by Ryan at 7/28/2007 8:06:01 PM
This pertains to SMS and SQL 2005. I am receiving a bunch of errors in the SMS Discovery Data Manager, and they all pertain to the same general message, "The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value" Here is part of the DDM.log... --...more >>

web server setup
Posted by Fred at 7/28/2007 7:25:10 PM
I have a server that will be running as a web server and a database server? To get the best performance is it better to install the database and web server on seperate physical hard drives? or it doesn't matter? I have a total of 8 harddrives, what RAID setup should i choose? Thanks, Fred ...more >>

Help w/ Not enough storage is available to complete this operation.
Posted by crab.dae NO[at]SPAM gmail.com at 7/28/2007 5:07:40 PM
I've got a delimited text file that aprox 5.5GB that I'm trying to load into a table on SQL 2000 (Windows Server 2003) and I keep getting the error "Not enough storage is available to complete this operation." Changing the commit size doesn't seem to make a difference, but when I changed a co...more >>


DevelopmentNow Blog