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 > may 2004

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

Yukon vs Oracle (load-balancing)
Posted by Lauri at 5/31/2004 11:11:02 PM
Hi Can somebody tell me, is there a load - balancing or grid techn. in the next version of SQL Server Yukon We are currently using the SQL 2000, but it has only the failover clustering(if one server hangs, then the another takes over), but we need load-balancing(we need to balance the server wor...more >>

Cannot restore database
Posted by Roger Withnell at 5/31/2004 7:50:49 PM
RESTORE DATABASE upperbridge FROM DISK = C:\.............. WITH REPLACE gets the error Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80040E14) [Microsoft][ODBC SQL Server Driver][SQL Server]Exclusive access could not be obtained because the database is in use. This is on my t...more >>

any help with my select ?
Posted by Krzysiek at 5/31/2004 7:27:46 PM
Hello All, I have a simple table with 2 columns. datetime int 27.05.04 1 29.05.04 2 31.05.04 5 and i need to get a view that looks like this below : 27.05.04 1 1 29.05.04 2 3 31.05.04 5 8 The third column shows a sum of numbers that were display before ...more >>

Moving Data
Posted by Rauls at 5/31/2004 5:36:02 PM
How can I move a database from one SQL server name to another server with a different name?...more >>

Log of database changes
Posted by Roberto C3 at 5/31/2004 1:41:05 PM
Hi All I would like to know if it is possible to figure out what user change the field names of one of my table on my SQL Server It seems that somebody change and after all nobody it guilty Do you know Thanks in advanc Roberto...more >>

What does this mean?
Posted by RockStedy at 5/31/2004 12:16:38 PM
Hello I am doing some revising for the SQL admin exam, and one of the question explanations had this. "The sp_adduser procedure cannot run within a user-defined transaction;" What does it mean? I think it means that the sp_adduser procedure can only be used within the master database, is...more >>

Connecting to Analysis Services
Posted by Z D at 5/31/2004 10:32:37 AM
Hello, I have analysis services running on a server in our internet datacentre (servers are colocated at an ISP). It is working fine with no problems whatsoever. I can also manage it fine when I terminal onto the box. However, the problems start when I try to mange the server from my local...more >>

SQL Server Error 21268
Posted by Joseph S. at 5/31/2004 6:46:02 AM
Can anyone assist...What does this error mean; and possible solutions SQL Server error #21268 - Severity 1 Cannot change queue type while there are subscriptions to the publication Thanks..........Joseph Simmons...more >>



DBCC :)
Posted by :) at 5/31/2004 6:36:01 AM
Thanxs for the site but what i really wanted to know (and=20 found that it=B4s not documented) if whats the best way to=20 analyse DBCC Showcontig results: for example: I usualy look at the extent switches and extents numbers.=20 If extent switches > extents than the index needs a=20 defrag. ...more >>

Retrieving a saved MSSQL database from another hard drive after re-formatting
Posted by L. Dettering at 5/31/2004 6:15:21 AM
I had to re-format my main hard drive after a crash. How can I restore the MSSQL database which I had saved in a Backup on my second hatd drive? I had re-named my computer the Operating System of which is Windows 2000 Professional. The CPU is an Intel Celeron 1.1 Ghz with 1.5 GB of RAM ava...more >>

Retrieving a saved MSSQL database after re-formatting the original hard drive
Posted by L. Dettering at 5/31/2004 5:56:59 AM
I had to re-format my hard drive because of a crash. How could I retrieve the database which I had backed-up on another hard drive before the crash?...more >>

Linked Server to Oracle 9i
Posted by Siva at 5/31/2004 4:36:02 AM
I'm connecting to Oracle 8i databases from SQL Server through Linked Server. Now I need to connect to Oracle9i databases from the same SQL Server. What currently I'm doing is: (already installed Oracle 9i client tools on the Server machine) changing the registry setting of "[HKEY_LOCAL_MACHINE\SOFTW...more >>

DBCC
Posted by :) at 5/31/2004 3:47:19 AM
Does anyone know a good site or can anyone explain me how to analyse a dbcc showcontig results. Ex: whats the best thing to look at to see if you got fragmentation or not? Thanxs...more >>

Downgarde from SQL 2000 to SQL 7
Posted by Emil at 5/31/2004 3:36:02 AM
HI i need to downgrade one of my databases to SQL 7..but ti doesnt allow me to not a backup restore or a script import works please can any one help.or is there some tool that does this fot you ...more >>

Check Stored Procedure execution duration
Posted by CC&JM at 5/31/2004 3:10:38 AM
Hello, I need to check the duration of execution of some Stored Procedures. I dont know when these stored procedures will run, so i execute the Profiler to catch these Stored Procedures but i dont know if im going to get the desired result. Am I doing it right or may i do anything else? ...more >>

Rebuilt master, what's next?
Posted by msnews.microsoft.com at 5/30/2004 10:38:57 PM
Hello, What would be the way to go after rebuilding master database: (1) restore it from the backup, restore msdb, and then user databases or (2) restore user databases, restore master, and then msdb. I mean, is it bad, when the master is restored w/o user databases being accessible? ...more >>

DBCC INDEXDEFRAG
Posted by Don at 5/30/2004 9:40:48 PM
I index my database nightly since I have many changes to cluster indexes and non-cluster indexes daily. I ran a script the would tells me every table the number of rows, index space, data space, and unused space. Next I applied the DBCC INDEXDEFRAG to every table and each index which r...more >>

Yukon Beta
Posted by Mark at 5/30/2004 9:26:41 PM
How can I obtain a Beta copy of Yukon? Thanks, Mark...more >>

Largest SQL Server 2000 Enterprise Ed. Databases
Posted by Mike at 5/30/2004 9:15:30 PM
I like to obtain information on several of the largest SQL Server 2000 Enterprise Edition databases? With the hardware specification and disk space (SAN, LUN, etc.) they are using. Also would be helpful the average number of transactions per minute the server is handling. If the ...more >>

Could not Re-index !
Posted by cpchan at 5/30/2004 5:23:40 PM
My company has 5 SQL Servers, their configurations are : SQL Server 7.0 + Service Pack 3. But I could not do DBCC DBREINDEX on one of them and got the following error : DBCC DBREINDEX('dbo.SA_TRN_DTL', ' ', 0) The error was : Server: Msg 1105, Level 17, State 2, Line 1 Could not alloc...more >>

Computed 'Days to go' Column
Posted by Paul Bryant at 5/30/2004 4:15:52 PM
Given a column of dates, I would like to create a computed column showing how many days from the current date until that date (ignoring the year) next occurs. E.G. given 3 rows: DateID StartDate 1 2 January 1954 2 1 March 1978 3 30 December 2001 if today...more >>

SQL 7.0 to SQL 2000 Query Fails
Posted by John Williams at 5/30/2004 10:19:28 AM
We have a query that appears to be built to fail, but never meets the criteria to cause a failure. Basically select isnull(CurrentValue,'blank') Value from Table1 Since this isnull condition never occurred, everything worked fine in sql 7.0, the query at least execute with no syntax err...more >>

BULK INSERT
Posted by John at 5/30/2004 7:51:03 AM
Hi, I am trying to do a bulk insert using a text file that is comma delimited. In the text file there are fields which are surrounded by quotes and contain commas; these commans should not be considered delimiters. Is there a way to tell the BULK INSERT statement not to treat these as delimite...more >>

SQL virus, worm or security flow????
Posted by Lkit at 5/30/2004 6:16:02 AM
Hi all, We have 3 sql servers tha are on the public internet, behind a firewall, and there is open only 1433 inbound and outbound as from Friday morning all 3 have the following problem, i cant open regedit and ipsec the system says dont have access. Iam and admin, also when i do netstat -n there is...more >>

Profiler sees very different durations for the same SQL select stmt of spid(s) from different client workstations, a bug?
Posted by johnnyyzzhang NO[at]SPAM sbcglobal.net at 5/30/2004 12:16:19 AM
Hi, Our users complained that the performance is unacceptable on some workstations, but some others say acceptable. We have arranged a testing for those workstations to run the same application at the same time. It is a client-server application written in PowerBuilder, using DB-Library to co...more >>

urgent help with sql
Posted by Bassem at 5/29/2004 10:34:59 PM
Dear All i cannot view any databases under the enterprise manager (it just say no item) while i can see the databases from the query analyser, i restarted the server and the same, the users are working fine and i can acess the databases from the application to any idea?...more >>

a lot of records
Posted by Paulo Ribeiro at 5/29/2004 2:56:02 PM
Hello, i need two tables like: Country(IDcountry,country_name)....City(IDcity, IDcountry, city_name), so i need to put all the countrys in the world and there respective citys....it´s a lot of records....is there a simple way to do this?Thanks!...more >>

Installing SQL Server on Windows 2003 Server
Posted by David F at 5/29/2004 2:10:19 PM
When I try to install SQL Server 2000 on Windows 2003, I get the message that SQL Server 2000 SP2 and below are not supported. How do I install SQL Server 2000 on Windows 2003? ...more >>

.NET Data Adapter not taking Alias added in ClientNetwork Utility
Posted by Ganesan Subramanian at 5/29/2004 1:59:33 PM
I added an alias in Client Network Utility. (cliconfg.exe). I am in Administrators and hence was able to add the ALias. Alias Name : MyDatabase Protocols Enabled : Named Pipes, TCP/IP. Protocol for Alias : tried both Tcp/ip and Named Pipes Server : MyServer From query analyser if I try to ...more >>

can not load xpstar.dll
Posted by Atif Chowhan at 5/29/2004 12:54:42 PM
hi, i have sql server sp3 running upon win 2000 adv server sp 4. the server is configured for merge replication with another machine with same configuration (sql server sp3 running upon win 2000 adv server sp 4). few days back i recieved this error when i was trying to connect SQL server remo...more >>

Adding another server instance to another hard drive?
Posted by Niels at 5/29/2004 8:42:21 AM
Problem: For safety reasons, I want an exact copy of all SQL databases on another hard drive. I'm trying to guard against a hard drive crash. Currently, I detach, file copy to another drive, then reattach each individual database. Since SQL Server is running on different hard drive from the da...more >>

Have you ever got this TempDB error ?
Posted by cpchan at 5/28/2004 10:36:40 PM
My SQL Server 7.0 (with Service Pack 3) server has 3 drives : C, D, E. By default, the TempDB locates at C drive and I increased its size by adding 2 more files (1 for TempDB database file and 1 for Temp log) at D drive. However, I don't know why the TempDB always cannot recognize these 2 D-dri...more >>

Copy Data..
Posted by Adam at 5/28/2004 4:42:45 PM
Hello, im having troubles copying data from our hosted remote server, to our local server, we want to do this inorder to have a copy of our database locally, incase the server ever goes down.. etc. I have tried, grabbing the *.BAK file and it keeps giving me an error saying the connection is l...more >>

stored procedure corrupted
Posted by khanhbui at 5/28/2004 4:40:00 PM
Hi All, When I've tried to edit my procedure in QA , I have a message like stored procedure was not scripted it is possible that information in system table 'syscomments' about the object was corrupted or missing is there any way to fix this ? Thanhks in advance ...more >>

Retrieving CPU usage,
Posted by news.microsoft.com at 5/28/2004 4:37:45 PM
Hi, For some reason, my SQL server is sometimes processing 99% cpu. But on the SQL server is no activity from users or jobs running. Can someone help me with an TSQL script to retrieve CPU usage at that moment. Regards, Rene ...more >>

Truncate Database
Posted by Adam at 5/28/2004 3:16:33 PM
Hello everyone, I think I have done this before, but it has been a long time, is there some way to truncate a database? I have trimmed all the data in it, but the size is still the same. Thanks for any help!! ...more >>

Blocking Question
Posted by Nick at 5/28/2004 1:33:02 PM
I am beginning to see blocked and blocking processes in Lock / Process ID tab under the current activity window. SQL Server resolves this after a while but is this normal ?? If not how can I resolve the blocking problems ?? Database is a highly transactional ~500 user database. Thanks fo...more >>

Setup index
Posted by ying at 5/28/2004 1:32:53 PM
I create a index on a "date" field on a table. When I use query: Select ... From table Where date='5/21/2004', in the estimated executation plan, I can see it use the bookmark lookup which is the "date" index. However, if I change the query to: .....where date between '1/1/2004' and ...more >>

Corrupt database and dbcc checktable failure
Posted by jalbenberg NO[at]SPAM yahoo.com at 5/28/2004 1:31:21 PM
I have a corrupt SQL 2K database that I am trying to repair. I do not have a backup. The following statements all result in the same error: DBCC CHECKTABLE(TableName) DBCC CHECKTABLE(TableName, repair_allow_data_loss) DBCC DBREINDEX(TableName) Server: Msg 601, Level 12, State 3, Line 1 C...more >>

Profiling Query Parallelism
Posted by Jeremy at 5/28/2004 1:20:44 PM
Let me start be saying I have a 8 proc sql machine set to use all processors for parallelism, with a cost threshold for parallelism set for 5 seconds. In an effort to optimized my database performance, I added Performance: Execution Plan to my profiler and kicked off a query that I new wa...more >>

Checking Foreign Keys in script
Posted by Jeff Williams at 5/28/2004 12:38:07 PM
I have the following in an update script. ALTER TABLE [dbo].[SoftwareRentalMaster] ADD CONSTRAINT [FK_SoftwareRentalMaster_ProductLookup] FOREIGN KEY ( [ProductCode] ) REFERENCES [dbo].[ProductLookup] ( [ProductCode] ) GO I would like to check if the FOREIGN KEY exists and delet...more >>

Linked Server SQL - DB2
Posted by fightoppression NO[at]SPAM yahoo.com at 5/28/2004 11:44:22 AM
We are running SQL 2000, DB2. We recently purchased H.I.S. and are trying to add a linked server to DB2. The DSN we set up using the OLE DB Driver for DB2 tests successful. However, when we try to use this DSN when creating a linked server with EM or sp_addlinkedserver it fails eevery time givin...more >>

Database Backup-Restore Case
Posted by Ivan Kan at 5/28/2004 11:27:57 AM
I have a database in SQL Server 2000 A. It has 2 data device and 2 log device. I have backup the database into a file, and try to restore it into another SQL Server 2000. The new database has only 1 data device and 1 log. However, when I try to restore it, in Option page, it has 2 data device...more >>

Lots of sleeping processes showing.
Posted by Marcelo at 5/28/2004 11:21:01 AM
Hi We have an app which is being listed with lots of sleeping processes in SQL Server. Some of those are 2, even 3 days old, and we are not getting to determine which is causing that (our lab environment doesn't show up this behaviour). We've checked, and Windows, SPs, SQL, SPs and MDAC versions, ...more >>

Alter coulmn (Replication applied)
Posted by douglas at 5/28/2004 11:01:18 AM
Hi All I dont know how to modify the table schema (e.g. Alter Column) without removing the applied replication. Would anyone please tell me the solution? Thanks alot, Douglas ...more >>

find index for all tables and views in one script
Posted by Julia at 5/28/2004 10:50:06 AM
Is it possible to get all indexes for all tables and views in one script? ...more >>

multiple instances + memory
Posted by Kasper de Jonge at 5/28/2004 10:32:45 AM
**** Post for FREE via your newsreader at post.usenet.com **** We're going to set up a Win2003 cluster on two dual cpu with 8 GB of ram systems. I'd like to install multiple instances of SQL server so i can switch instances on the computers. When i use 3 instances of sql server can they each...more >>

sp_who do not return hostname
Posted by Donald at 5/28/2004 10:30:04 AM
Good friday, SQL 7.0 In some case, when i use Sp_who to see from where an process is coming, i don't see anything under hostname. Does anyone knows what is missing on the host computer Thanks !!! ps : please, don't talk to me about sledgehammer... :o) donald...more >>

Urgent help!
Posted by bredal Jensen at 5/28/2004 9:30:40 AM
Help gurus, I'm in the very beginning of learning to use sql server 2000 and i have manged to have a test data-driven web site online base on sql server 2000. But , i did quite a very stupid mistake recently. My site literaly has all it contents in the database . I mistakenly imported th...more >>

index on view
Posted by Julia at 5/28/2004 9:08:06 AM
If an application uses a lot of views and the performance is slow, should we create indexes on views? What kind of indexes to create? Thanks....more >>


DevelopmentNow Blog