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 > january 2006

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

Data access from multiple DBs
Posted by Kay at 1/31/2006 8:53:09 PM
dear all, I want to execute this statment Select db1.dbo.table1.column1, db2.dbo.table2.column2 from db1.table1 inner join db2.table2 on db1.dbo.table1.column1= db2.dbo.table2.column1 since i am using to different DBs to fetch resultset. What should I do to accomplish this task. One way i...more >>


RE: Optimal Physical Layer config SQL Server on IBM xSeries 345 server
Posted by Ruski at 1/31/2006 7:06:28 PM
Hi all, I am building a new IBM xSeries 345 server and we plan consolidate most of the SQL Servers databases on it (~40). I am trying to figure out the best configuration for the disk subsystem for both reasonable performance and disk cost savings and reduced down time. The server may have u...more >>

Wassup with Sybase?
Posted by JXStern at 1/31/2006 7:04:59 PM
Got a call for a job working on (current?) Sybase system, they seem willing to accept SQLServer expertise. Anybody have any words of wisdom on the differences in the current products? (as I understand it, the other tiers are dotnet! Let me guess the legacy clients are Powerbuilder) TIA....more >>

Error locating sqlsui.dll
Posted by user at 1/31/2006 6:07:52 PM
Hi, Hope someone can help. If I click on SQL Server Licensing in Control Panel I get 'error locating sqlsui.dll' I Googled for a solution and the only reference was if this file was missing or corrupt in program files\microsoft sql server\80\tools\binn but the file does exist. I tried repl...more >>

How do I create folders dynamically using T-SQL ?
Posted by Sameer via SQLMonster.com at 1/31/2006 6:00:02 PM
Hello, I have 8 categories, each with its own (Min, Max) limits : - Cat_1 (100, 199) Cat_2 (200, 299) Cat_3 (300, 399) .. . . Cat_8 (800, 899) On the screen, when a user clicks on a link, say, Cat_2, they see a summary of all the issues under that category. When they insert an issue...more >>

Restoring database error
Posted by ninel g via SQLMonster.com at 1/31/2006 4:42:27 PM
I am trying to delete a database because I need to restore it. But when I try deleting I get an error message stating "Error 3072: Cannot drop database because it is currently in use." I closed query analyzer and browser windows using this database. I cannot figure out what is still open. ...more >>

Restoring filegroup which has indexes only
Posted by Pranil at 1/31/2006 4:29:27 PM
We are planning to put our tables on one filegroup and the indexes on the other. In SQL 2005, it is possible to restore just 1 filegroup and continue operations. This sounds fine if the tables and the associated indexes are on the same filegroup. But what happens in my case ? If the index file...more >>

Error: 17883, Severity: 1, State: 0
Posted by Prabhu at 1/31/2006 3:17:32 PM
Hi , We are getting 17833 error with below message . Process 54:0 (ac4) UMS Context 0x09F5C830 appears to be non-yielding on Scheduler 3. We have SQL 2000 SP4 , per MS documentation this bug has been fixed in SP4 but I still see this in SQL log at least once a week . Can you pl. sugg...more >>



update AD from SQL?
Posted by Corey Bunch at 1/31/2006 2:56:28 PM
I know it's possible to view AD data via a linked server & using LDAP queries from SQL. But I'm wondering is it possible to update the data in AD? More specifically - I've got a sql server database table of user information (userid, password, etc.) - when the user modifies their password in th...more >>

Bulk insert Problem(Bug) in SQL Server 2005
Posted by Kiran at 1/31/2006 2:56:11 PM
I can not bulk insert a network file onto a remote SQL server 2005 machine I get this error when run from Query analyser in remote machine Cannot bulk load because the file <File Name> could not be opened. Operating system error code 5(Access is denied.) It used to work in SQL 2000 We just ...more >>

File and filegroup Restore
Posted by spoons at 1/31/2006 1:22:27 PM
I have a database with with four filegroups - the primary and three others. Each filegroup has its own data file. However, one of the filegroups has two data files. I want to restore the database to a different database server but only the primary filegroup and one additional filegroup inst...more >>

collation problem
Posted by Dick Swager at 1/31/2006 1:19:42 PM
I have a database that has Korean_Wansung_CI_AS as the default collation. I need to use this database to interact with another database (e.g. merge tables and views) that has SQL_Latin1_General_CP1_CI_AS collation. The first step is to change the default collation of the first databse from ...more >>

problem returning IDENTITY
Posted by ibiza at 1/31/2006 1:19:19 PM
Hi all, I have a sp where I only do an insert, and am trying to return the identity value created. Here's what my sp resemble : .... AS SET NOCOUNT ON -- do the insert DECLARE @ret SELECT @ret = SCOPE_IDENTITY() RETURN @ret I tried to return directly SCOPE_IDENTITY(), I also tried to...more >>

SP4
Posted by CLM at 1/31/2006 1:00:29 PM
I've got about four production 2000 servers still on SP2. We've done some preliminary testing with SP4 on our dev environment and SP4 seems to be having no problems. But I've read a number of posts about problems with SP4. Is SP4 having some problems like the ill-fated SP3? Is there going ...more >>

Reusing SQL 2005 Maintenance Plans
Posted by Resquegal at 1/31/2006 12:00:23 PM
Does anybody know of a way to move maintenance plans from one Yukon server to another? I don't want to have to manually set them up on each server. I'd like to be able to script it, like in SQL 2000, if possible. Thanks in advance! ~ Lindsey...more >>

SQLServer and SAN
Posted by Gary Paquette at 1/31/2006 11:55:33 AM
Does anybody have some testing down with the Pro's & Con's of using a SAN for the dB, Index and Log files? Thanks Gary ...more >>

Same sp_id multiple times in Process Info
Posted by FireStarter at 1/31/2006 11:52:48 AM
When I go to Process Info in SQL Enterprise Manager, sometimes I can see the same sp_id in there multiple times (5-10 different instances sometimes). And sometimes the same sp_id is listed as blocking itself!? It is the first time I am seeing this. It used to be that there was one entry per s...more >>

Looking for Solution to Remote Data Entry
Posted by Greg Larsen at 1/31/2006 11:23:26 AM
I'm looking for different solution people have implemented to solve this problem. Problem: People need to work remotely. While working remotely they want to gather information. This information might be survey info, or inspection info, etc. This information is to be stored remotely on a ...more >>

I/O size
Posted by Farhan at 1/31/2006 10:41:29 AM
Hello, Following is my understanding when sql needs anythings reads from disk it request to Windows which do 64 k read even though sqlserver has only requested single record?? Am I right? how sql handle the I/O request when it reads from RAM (data cache)? Thanks. -- Farhan ...more >>

SQL 2000 x86 on Win2003 x64?
Posted by LC at 1/31/2006 10:41:29 AM
Has anyone tried running SQL2k x86 on a Win 2003 x64 platform? Any issues? Also, is there any benefit of running SQL in a x64 environment even though it's only 32-bit? LC...more >>

Upgrading from SQL 8.00.922 to 8.00.1007
Posted by LC at 1/31/2006 10:38:28 AM
hi everyone, I have a question regarding the upgrade process from build 922 to build 1007. I understand that builds 977 and 1007 are 'baseline' builds, but there's a known bug with applying build 977 on servers with a large number of databases (KB 891640). Because of this bug, should I just...more >>

register sql2000 on SQL2005 manager
Posted by PBENISTY at 1/31/2006 10:32:06 AM
I have two servers 2003, one running sqlserver 2005 and the second sqlserver 2000. I'd like to register the sql2000 on the sqlserver management studio provides with sql2005. when I trie to connect to server with sql2000 I get an time out error. I've already activated all the protocol : tcp...more >>

data copy questions ...
Posted by Me at 1/31/2006 10:17:28 AM
I want to copy data from one sql server table to another sql server table. In the original table almost all columns are of data type = 'varchar' , in the destination table, I would like to convert columns into various data types like 'nvarchar', 'numeric', date, etc. When I try to issue the ...more >>

Code coverage tools
Posted by Frank Rizzo at 1/31/2006 10:12:52 AM
Do code coverage tools exist for SQL. I am not talking about really complicated one. Just perhaps a tool that will scan a stored proc, then mark/remove unused variables, for instance. Regards...more >>

backup restore between sql 2000 2005
Posted by orcun usturali at 1/31/2006 9:26:32 AM
hi to all , Is it posible to backup a sql 2005 db and restore it to an sql 2000 database , I have succesfully done the reverse of it ,that is bakup an sql 2000 db and restore it to 2005 but could not manage to the reverse of it any help will be appreciated regards... orcun ...more >>

Process license ?
Posted by Alex Anderson at 1/31/2006 8:08:37 AM
Hello Everyone, Our company is currently under the Enterprise agreement with Microsoft and I was wondering when it came to clustering, how many processors do we have to licenses if both boxes has four processors in each box? The way we're running the cluster is Active/Passive. We are ...more >>

Tempdb issue
Posted by oasaf at 1/31/2006 7:33:27 AM
Hi, we moved all database instance (included sysdb) from a disk to another. When we try to start the instance in single mode all should be ok. When we start the instance in normally mode we find the follow error message in the errorlog file 'Error while redoing logged operation in database 't...more >>

What does Assuming Primary Role actually do?
Posted by MGeles at 1/31/2006 7:16:30 AM
I have log shipping set up on some databases, but I've never used the assume primary role option and I have some questions about how it works. What does assuming primary role do? Can something automatic trigger the event or does it require manual intervention? If it's automatic, what kind of ...more >>

default instance vs named instance
Posted by Andre Gibson at 1/31/2006 7:13:28 AM
How can I determine if the sql instance I have is the default instance or a named instance? Secondly how do I adjust a named instance to be the default instance? Lastly if I have 2 servers configured identically (one working as a production server and the other as a backup server) and a pr...more >>

Create table in schema in Managment Studio
Posted by richardlowe NO[at]SPAM gmail.com at 1/31/2006 6:31:55 AM
Hi all, if I create a new schema: CREATE SCHEMA MySchema it appears in Sql Server Management Studio's schema, but it's not obvious to me how to create a new table (or other object) under this schema, without using the CREATE TABLE statement. How can I create a new table under this schema u...more >>

Sql Server 2005 and Sql Server 2005 Express
Posted by Marc at 1/31/2006 6:19:27 AM
I will be doing development work and testing on Sql Server 2005 and Sql Server 2005 Express. What is the best installation for my requirement? Is it possible to install both on the same machine? Thanks, Marc...more >>

SQL Server 2000 Standard with /3GB switch
Posted by wtgermany at 1/31/2006 5:27:07 AM
Does the SQL Server 2000 Standard Edition fully support the /3GB switch on Windows 2000 Advanced Server Editon?...more >>

DateTime problem....
Posted by BenUK at 1/31/2006 3:36:28 AM
I run the below code on several servers via a scheduled jobs, on one server the job fails reporting "Error converting data type char to datetime. [SQLSTATE 42000] (Error 8114)", Any ideas on where to start troubleshooting this server, I can't think? DECLARE @BAKDate Char(10) SET @BAKDate...more >>

Can you use US licences in the UK
Posted by James at 1/31/2006 3:16:28 AM
We get ripped off in the UK and so US licences cost around half the price. My question is can UK businesses buy licences in the US or join the US open licensing? I'm sure Microsoft wouldn't want people to do this, but if you got hold of the licences would it actually work? Also, what if your ...more >>

max memory
Posted by Aramid at 1/31/2006 1:45:51 AM
Hi All, I noticed that SQL 2000 seems to be eating up a bit more memory (about 100Mb more) than the maximum memory that I have set. Is this a normal behavior? Thanks. Aramid...more >>

log file at sql server shutdown
Posted by j.goines at 1/31/2006 12:00:00 AM
hi all, maybe a poor question, but i cannot test it for myself now. when i shutdown or stop sql server, will there all logfiles be written in the databasefiles, the same as a backup will do? thanks for help jeff ...more >>

details on Linked server?
Posted by sasikumar at 1/31/2006 12:00:00 AM
Hi, Any one know about Linked server setup in sql server. I want to know more detail on setting up a sqlserver to connect it directly to an oracle server. So that I can directly access data's from Oracle using Stored procedure. Regards, Sasikumar Balasubramanian ...more >>

details on Linked server setup
Posted by sasikumar at 1/31/2006 12:00:00 AM
Hi, Any one know about Linked server setup in sql server. I want to know more detail on setting up a sqlserver to connect it directly to an oracle server. So that I can directly access data's from Oracle using Stored procedure. Regards, Sasikumar Balasubramanian ...more >>

dynamical tablenames
Posted by Ilya Dyoshin at 1/31/2006 12:00:00 AM
Hi all! I am about to create a procedure which will create tables with dynamically specified tablenames. Something like this DECLARE tname CHAR(30); SET tname = "1233321"; #or any string function CREATE TABLE tname ( #columns cpecification ); But it doesn't works.......more >>

How do I hide databases that I don't need to see?
Posted by vbMark at 1/30/2006 8:39:27 PM
Hello, How do I hide databases that I don't need to see on a server? I am using SQL Server Management Studio 2005. Thanks! -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Best free software http://www.vbmark.com Freeware-dedicated search engine http://www.eurekster.com/par...more >>

article or some good reasons to kick devs out of production
Posted by Hassan at 1/30/2006 8:30:23 PM
My devs all have access to production. They always had and they feel they should still just in case they need to resolve issues. Are there any articles on how I can convince them to get out and stay out :) Let me know what should i tell them so I can revoke their access Thanks ...more >>

API cursors??
Posted by CharlesT at 1/30/2006 8:23:17 PM
Im really confused about cursor stuff that isnt quite explained in the BOL. What exactly is the difference between a Tsql cursor and an API cursor? When I access a db from a .NET application is this an API cursor? is an API cursor the same as a server cursor? does an API cursor/ server cursor hol...more >>

Optimizing a query
Posted by Leila at 1/30/2006 6:45:17 PM
Hi, I have created the following SP and indexes, but the execution plan for SP shows that query optimizer always uses 'index scan'. -------- use northwind go create proc usp_search @country varchar(100)=null, @city varchar(100)=null as select customerid,companyname,country,city from cus...more >>

SQL 2005 stored proc linked server
Posted by cathedr NO[at]SPAM wa.state.gov at 1/30/2006 5:16:30 PM
I set up a linked server and attempt the following command: exec serverX.dbX.dbo.procX I get this message: Server 'serverX' is not configured for RPC. This used to work in the beta version of 2005. Running a select still works: select * from serverX.dbX.dbo.tableX The help file is w...more >>

Create Statistics Question
Posted by Amos Soma at 1/30/2006 5:10:23 PM
I have a 2005 database with Auto Create Statistics set to true and Auto Update Statistics set to true. Am I correct that it should not be necessary for me to manually execute any 'Create Statistics' statements to create statistics to help in query plan generation? My assumption is that with ...more >>

How much is enough
Posted by TLehtinen at 1/30/2006 4:31:31 PM
Hello! We are planing to release one bigger project.... And buying larger, better and faster sql-server to it. How Big server do we need? What licenses? We need it to build fast enough reports from 10-40 000 000 row tables. Mainly use quite big tables and grouping it. We have coulple of t...more >>

EXEC Permissions
Posted by David at 1/30/2006 2:59:05 PM
I have a user in DB that has db_datareader and db_datawriter permissions. Now I want to assign EXEC permission to all the stored procedures. How can I achieve this through database standard roles. My objective is to avoid giving permission on each stored procedure the EXEC permission. Any ...more >>

Deadlock blues
Posted by Frank Rizzo at 1/30/2006 2:20:00 PM
I am trying to rewrite 2 stored procs that have been perpetually having deadlock issues against each other. The current problem is that the pieces of SQL that are involved in the deadlock are both in a transaction. The contention is for a single table. Would moving the offending piece of ...more >>

Slowness of SQL2k5 in comparison with SQL2k
Posted by andsm at 1/30/2006 1:45:28 PM
I have database. The database is pure OLTP database. Performnace is very important for the database. 90% of all db calls is call of 4 stored procedures. I created test script which do such calls. I do performance tests both in SQL2k and in SQL2k5. Databases have exactly same data. I did update...more >>

Backup Up Remote Database
Posted by Hondo at 1/30/2006 1:24:50 PM
Our database is on a server provided by the web host. I would like to backup the data from this database more often than our web host performs backups. But since our database shares space on its server with other companies, we are not permitted to use the Enterprise Manager Backup utility. (T...more >>


DevelopmentNow Blog