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 > april 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

dbcc checktable(sysindexes)
Posted by Karl at 4/30/2006 10:33:34 PM
I'm trying to attach a copy of a database to another server. When I do this, the attach fails due to an index problem. The error message indicates that I should run: dbcc checktable(sysindexes) when I run this on the original server (where the database is attached) I get a missing sysi...more >>


Copy to a .txt file
Posted by Roy Gourgi at 4/30/2006 11:34:38 AM
Hi, How do I copy the rows in my table into a .txt file comma delimited. I tried COPY mytable TO '/presentation/myfile' WITH DELIMITER ',' but it does not work TIA Roy Gourgi ...more >>

SQl Server 2000 - 32 bit on 64 bit Operating system
Posted by Srikanth at 4/30/2006 9:29:02 AM
Hi, Is it possible to install 32 bit SQl Server 2000 on 64 bit Windows 2003 Server. Please let me know this information. -- SQL serer DBA...more >>

date prolem
Posted by Rajani at 4/30/2006 1:45:01 AM
I have created a table in which one column is datetime data type. But its storing date andtimetogether. How can i chane the format to store only dates in dd-mon-yyyy? thanks in advance...more >>

Newbie question. How do I change the SL SA acount password?
Posted by Spin at 4/30/2006 12:00:00 AM
Running SQL server 2000 in Mixed mode. How do I change the SL SA account password? -- Spin ...more >>

ORDER BY in view does not execute in SQL Server 2005
Posted by Peter Jones at 4/29/2006 11:10:01 PM
Hi, I've noticed that ORDER BY in views does not work in SQL Server 2005 as it did in SQL Server 2000. My old syntax was: "Select Top 100 Percent....." which was converted to: "Select Top (100) Percent..." when I recreated my views. However any ORDER BY's in my views are not executed unt...more >>

sqlite current_timestamp
Posted by Rain at 4/29/2006 7:18:02 PM
Hi, im hoping someone could help me with this problem. I would appreciate any help at all: SQLite said that it supports current_timestamp but it doesnt work when i use it as a Default value, for example: (Im executing these sql statements in sqliteqa) 1.drop table sample_table; 2.create...more >>

Variable Window in Integration Services
Posted by Lawrence at 4/29/2006 6:36:01 PM
Hello All, I am wondering if someone can shed some light on how to display "Variables" window in Integration Services. I am trying to add a new variable by clicking SSIS menu, and choosing Variables. However, the Variables window never showed up. Is there some property settings that I ne...more >>



SSIS and Users
Posted by vbnetdev at 4/29/2006 5:49:00 PM
Ok under the old setup in SQL 2000 customers who host their databases with a provider coudl use DTS to transfer data, perform tasks and such as needed. The information to perform the task was stored on teh server so they could replicate the steps they took whenever they wanted Under SQL 200...more >>

sp_who2 shows three spids 59
Posted by jxstern at 4/29/2006 4:00:44 PM
I have an SP that hangs. The code seems to work fine when run from QA outside of an SP. SP_who2 shows three copies of the same SPID#. 59 RUNNABLE BTHREE\sternj 3S0BATCH001 . mydb UPDATE 468720 44083 04/29 15:27:13 DTS Designer 59 ...more >>

Nesting views?
Posted by Tim Greenwood at 4/29/2006 8:15:20 AM
OK say a user creates a view "A".... Now another user comes along and creates a view "B" which joins view "A" plus other tables. Now yet another user creates a view "C" which uses "B".... Supported yes but is this really wise? It really begins to be convoluded quickly. Seems to me a view ...more >>

Multiple Filegroups.
Posted by Sezgin Rafet at 4/29/2006 12:00:00 AM
Hi Everyone, I added a secondary filegroup to a production database and moved some tables to it from the Primary Filegroup.In the process I changed the database recovery model to Simple and back to Full,backed up the Transaction Log and shrunk it,shrunk the primary filegroup datafile. The d...more >>

SP 1 / My Jobs no longer work
Posted by Amos Soma at 4/29/2006 12:00:00 AM
We installed SP 1 yesterday and now none of our Jobs work. The error we're getting is the following: "Unable to start execution of step 1 (reason: The job step contains one or more tokens. For SQL Server 2005 Service Pack 1 or later, all job steps with tokens must be updated with a macro be...more >>

Indexed View: _hypmv_4
Posted by Pieter Coucke at 4/29/2006 12:00:00 AM
Hi, When Tuning my DataBase with the Index tuning Wizard, it proposed me an index view, calles _hypmv_4. I added it, and I saw an enormous perfomance gain. But how does this work exactly? How does SQL Server now that it should use this indexed view when running a query? There isn't any r...more >>

Indexed View: _hypmv_4
Posted by Pieter Coucke at 4/29/2006 12:00:00 AM
Hi, When Tuning my DataBase with the Index tuning Wizard, it proposed me an index view, calles _hypmv_4. I added it, and I saw an enormous perfomance gain. But how does this work exactly? How does SQL Server now that it should use this indexed view when running a query? There isn't any refe...more >>

JOB Scheduling
Posted by Agnes at 4/29/2006 12:00:00 AM
I create my first job schedule to remove some unused data at mid-night. As I want to do some modification in that job schedule, I don't know how to retrieve that Job , Please help. and thanks ...more >>

SQL 2005 SP1 - Autogrow problem.
Posted by Javier at 4/28/2006 9:02:03 PM
Hi, I am having problems with autogrow after install SP1. I have a big DB (20 GB) and autogrow is set to grow by 100 MB. I found that after SP1, the autogrow changes from 100 MB to (A random big number. ex 6545) percent and it fills my disk. First time it happened, I changed to my value, b...more >>

How to encrypt MS SQL Server 2000
Posted by Michel at 4/28/2006 5:37:42 PM
How could i encrypt a ms sql 2000 database. what is when i do a backup of the db. will i recieve a certificade with the key. Does somebody have some experiences about the best way for encrypting an sql server and the protocol. Thank's for some infos Michel ...more >>

Optimizing Clustered Index Scan
Posted by cbrichards at 4/28/2006 5:17:35 PM
I am trying to tune a query that has as its execution output as a Clustered Index Scan. There is a Clustered Index on field [dt], which is a datetime field. The query is structured as such: IF @date < '1/1/1901' --...then make it NULL, so that it works in the query SET @date = NULL ...more >>

SQL Server Express and JDBC
Posted by RyanS at 4/28/2006 3:45:02 PM
I'm attempting to setup a uPortal instance on a laptop which has SQL Server Express. To build uPortal, I need to know several parameters about the DB Name, DB Version, Driver Name, and Driver Version. The documentation states that this data must match, exactly, what's in: java.sql.Connect...more >>

Move TempDB data/trans From C: to E:
Posted by Joe K. at 4/28/2006 3:28:02 PM
I have a SQL Server 2000 database server on Windows 2000 Advanced Server. What is the best way to move the TempDB data and transaction log files from the C: to E: drive? Thank You,...more >>

CPU usage
Posted by David at 4/28/2006 2:59:02 PM
I want to know what is the %CPU used by a process in SQL Server. In other words, I got the CPUTime from the sysprocesses table and the number is say 10,000. How can I relate this CPU time with NT processor percentage? A user called me before running some stored procedure and wanted to know ...more >>

Intermittent query slowdowns and corresponding high CPU utilization
Posted by McGeeky at 4/28/2006 2:55:11 PM
Hi. We are experiencing an issue on SQL Server that sounds very simlar to the hotifx detailed here: http://support.microsoft.com/kb/835864 Only trouble is we are running on a single CPU server when the article suggests it is only applicable to multple CPU servers. Has anyone had experience ...more >>

Performance Issue with SQL 2005 and Linked server
Posted by Eric at 4/28/2006 2:47:02 PM
Hello, We are migrating an application to a new server Old server: Windows 2000 IIS 5.0 SQL 2000 New server Windows 2003 IIS 6.0 SQL 2005 Even if the new server is much faster, we have some performance issues with queries 1. Query optimizer The query optimizer seem to have probl...more >>

SQL Server 2005 Express Edition and SQL Server 2000
Posted by Josh at 4/28/2006 2:27:02 PM
I use SQL Server 2000 at my place of business. I need to create a linked server so I can run queries against a DB2 database. I created the ODBC connection and can get at the database tables in Microsoft Access but cannot get at them in SQL Server 2000. I did some Googling and it seems that ...more >>

Unspecified Error in DTS
Posted by ChrisR at 4/28/2006 11:57:22 AM
sql2k sp4 Howdy all. All of a sudden, my DTS Package is totally unusable. If I try to run it or design it, I get "unspecified error". I have verified that there is no corruption in both MSDB and Master. Ideas? TIA, ChrisR ...more >>

moving dts package
Posted by Johnfli at 4/28/2006 11:35:57 AM
I am moving databases from SQL7.0 to SQL 2003. I have exported teh data and tables from the old one to teh new one. How can I move, or copy the DTS packages? ...more >>

IS this true?
Posted by Tim Greenwood at 4/28/2006 10:05:35 AM
We've been experiencing some performance degradation recently. We are a small company partnered with a MUCH larger one. Someone from the other company said they had experienced some of what we are seeing and recommended that stored procedures which only return one row of data should use outp...more >>

Database timeout errors - apparently while growing database
Posted by GL at 4/28/2006 9:13:02 AM
I am occasionally experiencing timeouts while connecting to a database. Attempts to insert even a small record cause the system to max the disk usage and keep it there. I have experienced the problem on two different servers, with different size databases (one of about 16GB and one of about...more >>

Database corruption problem?
Posted by GregC at 4/28/2006 8:25:03 AM
We have a strange problem with an SQL SERVER 2000 database, it doesn't seem like a corruption problem but I can't identify what's happening. I'd appreciate any ideas. On Wednesday we noticed that 85 records in a person table had been added. These appear to be old versions of existing records. ...more >>

SQL 2005 Capabilities question
Posted by Richard Yeo at 4/28/2006 8:21:02 AM
In SQL Server 2005 is it possible to drop and create a stored procedure whilst it is in use? If not how do you recommend upgrading stored procedures that are called multiple times every second? Is it possible in SQL Server 2005 to drop an index on the fly on a table that is being quite heav...more >>

sql server profiler filtering question
Posted by Pedja at 4/28/2006 7:34:02 AM
Hi, I am trying to catch only table scans on some specific large tables in very active database. I choose scan:started, and tsql:started events, and textdata, objectid columns. I also set the filter on object id for the tables I'm interested in. Problem is that the trace returns events fo...more >>

DESIGN FLAWS IN MANAGEMENT STUDIO ????
Posted by mike.mcneer NO[at]SPAM gmail.com at 4/28/2006 7:20:18 AM
Greetings, Please tell me we don't have to live with this annoying thing where if you try to open multiple .sql files it opens a new instance of Management Studio and prompts you to connect to a server?? I JUST want to modify some sql scripts dangitt. If so, MS please get on the ball to get...more >>

DTS running on EM but failing as ascheduled job
Posted by Shyam Madhavan at 4/28/2006 6:34:31 AM
Hi All, I have local Package DTS which logged in as the user runs Dandy. But when Scheduled gives me this error: MESSAGES: The job failed. Unable to determine if the owner (XXXX\YYYY) of job Copy from 2005 to SQL 2000 Server has server access (reason: Could not obtain information about Window...more >>

Restore History
Posted by Piku at 4/28/2006 6:33:02 AM
What is best place to look / check for a database Backup / Restore history, I am mostly interested for RESTORE, like who did it and when ...etc....more >>

SQL Server on UNIX/Linux
Posted by schw at 4/28/2006 4:03:15 AM
is it available for other than Windows platforms? thanks best regards, schw ...more >>

permissions for sp_OASetProperty
Posted by Meenal Dhody at 4/28/2006 3:21:34 AM
We have a request to be able to execute the following from an application: declare @languageValue varchar(1000) exec sp_OASetProperty @languageValue, 'CharSet', 'Shift-JIS' Currently the developer is unable to because they get an "EXECUTE permission denied on object 'sp_OASetProperty', datab...more >>

Identity increament field?
Posted by tienlx at 4/28/2006 1:37:16 AM
Hi all, I have a Identity increament column name "ID" (int). Now i have values in that column : +-------------+ | ID | +-------------+ | 1 | | 2 | | 100 | | 101 | | 102 | | 104 | | 105 | | 106 | | ... ...more >>

Mirror database, what about logins?
Posted by Olav at 4/28/2006 1:23:28 AM
I have setup SQL Server 2005 SP1 with mirror of a database to another server. How am I supposed to duplicate the logins between the two servers and map the logins defined at the server level to the database level? Olav ...more >>

Error in sql log when restarting SQL server
Posted by Meenal Dhody at 4/28/2006 12:59:02 AM
Whenever we restart sql server the following error appears: 2005-12-20 12:34:22.28 server Attempting to initialize Distributed Transaction Coordinator. 2005-12-20 12:34:22.31 server Failed to obtain TransactionDispenserInterface: Result Code = 0x8004d01b When I check the MSDTC service...more >>

How to specify failover partner name?
Posted by Olav at 4/28/2006 12:50:33 AM
I have setup SQL Server 2005 SP1 with database mirroring. I have a client application connecting to the database via ODBC and I define the connection under the System DSN tab in the ODBC Data Source Administrator (launched from Administrative Tools). How can I specify the failover partner ...more >>

sub-select with composite key? How better performance? Daring!
Posted by Pieter Coucke at 4/28/2006 12:00:00 AM
Hi, I want this query (with a sub-select) to have a better performance. I trimmed it down from 3 minuts and 30 seconds to 9 seconds, by rewriting the query (originally they used a view that consumed a lot, added some indexes and re-arranged the index of the primary key), but I'm still not h...more >>

SQL2000 to 2005
Posted by JFB at 4/28/2006 12:00:00 AM
Hi All, I have a SQL2000 box and I would like to start using SQL 2005. Can I restore data from sql2000 in sql2005? If I can, the SQL2005 will be my main server, do I need to change anything on my applications? or they can connect in the same way? What do you recommend for this process? Tks J...more >>

Conventional rename mdf techniques failed not sure why
Posted by Mike at 4/28/2006 12:00:00 AM
I'm trying to rename my mdf files and I have tried 1. Detach db, rename files and attach from Enterprise Manager. I direct it to the rename MDF file and it lists the original filename then lists the current file location with the old names and two red X's indicating a problem. When I hit ...more >>

Sql Server 2005 2 instances with the same name
Posted by Bill Heckle at 4/27/2006 11:14:02 PM
My server is running both sql 2000 and 2005. When 2005 was installed there was some issue -- I didn't do the install so that is all I know. When I looked at the server there was 1 named instance named NEW. I went to an application box which runs win2k and tried to create an ODBC connection. I ...more >>

books needed
Posted by hidevraj NO[at]SPAM gmail.com at 4/27/2006 10:50:10 PM
All, For my project, I need to get familiar with sqlserver2005 in a few days.But I do not have any books or links, so please provide any links or books to learn about sqlserver205. Thanks in advance, Devraj ...more >>

sql mirroring & front-end web app.
Posted by Hammer at 4/27/2006 9:41:20 PM
Hi, I have successfully implemented SQL db mirroring on 2 - Win 2K3 Ent. servers. (haven't implemented witness server yet) I am able to manual failover the required databases. Principal server IP: 192.168.0.1 mirror server IP: 192.168.0.2 Currently, I have a front end web app on another...more >>

How to migrating SQL Database and Security?
Posted by TA at 4/27/2006 8:57:02 PM
Hi there, I am planning to migrate SBS 2000 from one domain to another domain with a new server SBS 2003 SP1. This includes migrating SQL database, secuirty and all packages in SQL. Is there a Microsoft KB for this process? or Can someone please point me in the right direction? Your ...more >>

Inconsistent Linked Server Execution Plans
Posted by person at 4/27/2006 8:45:15 PM
I am witnessing something odd with regard to execution plans and a linked server. I have a restore of a production database in two different environments, one DEV the other QA. This database resides on the linked server in our setup. The other database -- the local database -- has been instal...more >>

Memory question
Posted by michaelg via SQLMonster.com at 4/27/2006 7:13:42 PM
Hi, I just started at a new company and have been tasked with reviewing the configurations on some troubled servers. One thing I noticed that seems odd in the sp_configure output is that the min memory per query (1024 MB) is actutally higher than the max server memory (344 MB). Which setting h...more >>


DevelopmentNow Blog