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 > march 2005

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

invalid column name
Posted by Jay via SQLMonster.com at 3/31/2005 11:13:18 PM
When I try to run this script I get the 'invalid column name error. Can anyone tell me what I need to do to correct the error? SELECT PROVIDER.PROV_PATH, INSAGRE.PROV_ID, PROVIDER.NAME, INSEMPL.EMP_MO, INSEMPL.EMP_YR, INSEMPL.EMP_CNT, CAST(cast([EMP_MO] as varchar) + '/1...more >>

licencing issues
Posted by milan at 3/31/2005 10:02:27 PM
Hi! I have a following questions: 1. We bought Standard SQL licence per CPU but had to switch to licence per seat( to use transactional replication). What exactly is per seat, We have 30 persons who are connecting to SQL server, 15 scheduled jobs running localy on the server. Online replic...more >>

sp_who2 DiskIO value
Posted by Hassan at 3/31/2005 8:09:00 PM
What is the measure of the DiskIO values reported when one runs sp_who2. ? ...more >>

Long query block insert?
Posted by KH TAN at 3/31/2005 7:45:05 PM
Hi, Have a question, I have a select query that I used for bcp out one of my MS SQL 2000 DB table ( about 30 million of records) and it take more than 3 hrs to finish(about 13 million record). It happen that when this bcp process is running no record can be inserted to this table. Isn't th...more >>

Performance issues
Posted by Marco Pais at 3/31/2005 7:41:48 PM
Hi there. This is not my 1st post related with performance. I am experiencing serious performance problems with a VB6 application running over a SQL Server 2000 database. I have already used SQL Analyser, SQL Profiler and Performance Monitor to collect data that might help resolve this prob...more >>

Multiple process ID from Terminal Service connection...
Posted by Zul at 3/31/2005 6:26:06 PM
Hi, We have a program the connects to the SQL 2000 database (Server A) and the program runs on Windows Server 2003 Terminal Services (Server B), the issue that we are having is that multiple process ID have been created (in our case its 4 process ID) whenever the program connects to the da...more >>

What Changes
Posted by Charles A. Lackman at 3/31/2005 5:56:48 PM
Hello, I am working with SQL Server 2000 and their are clients constantly adding, removing and updating records on a daily basis. What I am looking for is a way to make a querry of all the changes made for a particular day or time frame. Is there a way to accomplish this? Thanks, ...more >>

URGENT!!! jobs not running
Posted by ChrisR at 3/31/2005 4:46:47 PM
I had to make some changes recently to the account that my Agent runs in. Now, my scheduled jobs dont run. Its not that they run and fail, they just dont run. If I manually start them in Query Analyzer in the account that the Agent runs in, I get the message saying : "Job 't_t_t_t_t_Pseudo' st...more >>



Access import specs to bcp import file
Posted by Rahul Chatterjee at 3/31/2005 4:15:08 PM
Hello all We have data that we import using access import specs in to Access. But the data is getting rather large and we would like to switch to our SQL database and analyze the data there. Is there any way to use the access specs in SQl server and import the data using bulk insert or bcp. We...more >>

SQL Profiler
Posted by Marco Pais at 3/31/2005 3:32:39 PM
Hi there, I was following an HOW TO article from Microsoft's KB (ID: 224587) related with SQL profiler. Once SQL Profiler is opened, they say to click Tools under menu Options and then make sure that 'All Event Classes' and 'All Data Columns' options are checked. Well, I cannot find thi...more >>

SQL 7 page level lock?
Posted by mecn at 3/31/2005 3:03:13 PM
Hi, We have sql7 with sp4. Need to know how do I check our dbs are page level or record level locking> Thanks in advance ...more >>

Confirm Password window being displayed
Posted by Gary Stewart at 3/31/2005 2:35:10 PM
Hi, When I modifiy the properties of a SQL Server Login, I get the "Confirm Password" screen displayed. This is displayed even if no change is made to the login. Is this a bug and is there a hot fix out there. Just want to know if anyone else has had this problem. -- Thank You for y...more >>

Index Corruption
Posted by Bill at 3/31/2005 2:28:25 PM
Hi, Does anyone know of an obvious reason for indexes to get corrupt or have the statistics get really out of wack?? We had a problem today where the performance just went down the toilet.. It was really obvious that a particular frequent query was taking 1000 times longer than norm...more >>

sql 7.0 support drop..date?
Posted by Pari at 3/31/2005 2:23:02 PM
Hi Has microsoft announced any date as to when it would stop the support for SQL Server 7.0 Thanks...more >>

Re:Moving Logins from 6.5 to 2000
Posted by Hari Prasad at 3/31/2005 2:15:16 PM
Hi, The method to transfer the logins with the password from SQL Server 6.5 to SQL Server 2000 is to upgrade the databases using "upgrade wizard". There is no documented way to move logins with password using scripts. But there is undocumented method method to do this. see the below link. ...more >>

TempDB and .NET
Posted by Rich at 3/31/2005 2:05:04 PM
I really need some solid advice here. I am a DBA and do not do any programming in .NET however my developers I work with are pressing me to do something that feels wrong and I cannot put my finger on it. They are telling me that they need access to the TempDB because the .NET applications ...more >>

Performance Issue
Posted by Richard Douglass at 3/31/2005 2:04:30 PM
I am experience a very strange performance problem. A nightly job that had been consistently running 2 hours each night is suddenly running 16 hours. A trace reveals a section of code taking 2500-3800 milliseconds of CPU to process. The execution plan for the select statement shows the indexes ...more >>

Column Name
Posted by MS User at 3/31/2005 2:00:56 PM
SQL 2K I ran the below sql to list the table name and column_name with column_name like 'ID' select substring(so.name,1,50) 'Table Name', substring(sc.name,1,50) 'Field Name' from sysobjects so inner join syscolumns sc on so.id = sc.id where so.type = 'U' and sc.name like '%ID%' order...more >>

Trigger
Posted by Vivek Sharma at 3/31/2005 12:31:20 PM
Is there any way I an view triggers in SQL 2000? ...more >>

migration from sql 7 to sql 2000
Posted by amr h via SQLMonster.com at 3/31/2005 11:28:18 AM
hi , I want to migrate from sql 7 to sql 2000 and now my issuse is that double quotes are not suported in sql 2000 and they where suported in sql 7 . an many of my procedures are using it .what should i do . -- Message posted via http://www.sqlmonster.com...more >>

Move from Cursor to Temp table alot slower
Posted by D at 3/31/2005 11:09:20 AM
I'm somewhat new to this but last week I created a sp that goes and gets about 200+ records about 30 times and performs some simple calculations and dumps the data from the table variable to the screen. This is in query analyzer btw. To do this I 1. find out how many test samples I have...more >>

Calling user-created functions with default values
Posted by Maury Markowitz at 3/31/2005 11:01:04 AM
The documentation talks about default values, but gives no examples. I'm trying to get this to work... ALTER FUNCTION FirstDayOfYear(@date datetime = getdate) RETURNS datetime BEGIN RETURN convert(datetime, '1/1/' + convert(varchar, YEAR(@date))) END They say you need to pass in "default...more >>

DDL Permissions
Posted by Darrell at 3/31/2005 11:00:12 AM
Ok, folks, I got one for you. I want to allow a user to make schema changes to tables in a database that are owned by dbo. However, I do not want this user to do anything beyond that, such as add roles or change permissions on objects, etc. It appears that the db_ddladmin fixed database role o...more >>

Restoring a copy of a database
Posted by Russell at 3/31/2005 10:53:03 AM
If restore a backup of a database to a database with a different name and owner, do I have to recreate the views and re-apply permissions to the tables etc. As I far as I can see all the views are owned by the dbo, but the actual database owner differs. From a SQL Server point of view I can lo...more >>

TABLE SPACE
Posted by Kalyan at 3/31/2005 10:47:03 AM
HI I have tables with 4 years data with NO DATA COLUMN . Is there any way to find out, what is space used by table for given year (say 2003) or is there any way to find number rows inserted/update for given year (say 2003) thanks Kalyan...more >>

database size and design questions
Posted by sql rookie at 3/31/2005 10:44:46 AM
I have a question regarding database design and size . I am migrating from several DB2 databases to SQL server. I was going to create different databases based on application dept or business units (the way it has been in db2). But my application folks says, they cannot connect to multiple datab...more >>

VB6 Frontend, User connections and SQL Server Processes
Posted by Marco Pais at 3/31/2005 10:24:06 AM
Hi there, I have a VB6 application working over a SQL Server 2000 database. since a long time ago, I am experiencing serious performance problems, that I still can't resolve. Normaly, the performance problems are related with database design, query design, application design an hardware. Th...more >>

master and filename
Posted by CLM at 3/31/2005 10:13:37 AM
I moved (a couple of nights ago) my master database from one drive to the other. When I do sp_helpfile, it shows up correctly on the new drive. But when I do select name, filename from sysdatabases where name = 'master' it shows the old drive location under filename. Is this a pro...more >>

Sql database search slow
Posted by John at 3/31/2005 10:10:48 AM
We have winxp workstations with a client software that connects to a win2k3 server with sql 2k & sp3 installed to access a medical database where we pull up the patients information. About a week ago 2 of the stations became slower then normal when searching information from the database caus...more >>

Export sql query result to excel soread sheet
Posted by Catelin wang at 3/31/2005 10:07:39 AM
I couldn't get the field titles on the Excel and for the datetime field it only shows time not date & time. Thanks ...more >>

Date query question
Posted by Vic at 3/31/2005 10:04:59 AM
Is there a way to run a query or a function that will return every Saturday of the specified year in mm/dd/yyyy format? TIA, Vic...more >>

Unicode question...
Posted by Paul Armitage at 3/31/2005 9:21:02 AM
Is the only way to store unicode characters through changing char and varchar datatypes to nchar and nvarchar, or can you change it through a database or server setting or collation? Thanks in advance, Paul...more >>

Primary Key Problem
Posted by Jean-Francois at 3/31/2005 9:13:02 AM
OK, I create a table called Customer, I imported date from my as400, when i want to set a primary key it telling me that i have duplicate key. Keep in mind the layout of my table CustId, SubCustId, in CustId they can have more then one same CustId, but SubCustID have not the same SubCustID. ...more >>

Software
Posted by Hervé RESCOURIO at 3/31/2005 8:54:00 AM
Hi What do you think about MSSQLRecovery 2.0, to recorver suspect database. Do you know a better software to recover suspect database. Best regards Hervé RESCOURIO ...more >>

CHECK Constraint to prevent a conditional duplicate
Posted by pdlevine NO[at]SPAM gmail.com at 3/31/2005 8:37:47 AM
Hi, I need to enforce that a table does not have "duplicates" for a specific status type in the table. If the column "STATUS" = 2, then there can not be more than one row with a specific "ID" column. I can not use a unique key constraint because duplicate values for this combo of columns...more >>

Database maintenance plan
Posted by SSovie at 3/31/2005 8:29:06 AM
I use the database maintenance plan to do my backups, I take all the defaults and this works well for me but one system will not make a backup. Under jobs all jobs fail but the database maintenance plan history is empty. the plan name, server name and database name drop down boxes show all but...more >>

Len() on a data type text field
Posted by Ben Bleser at 3/31/2005 8:13:38 AM
I'm trying to do a len() function on a text field in SQl Server 2000. Of course this doesn't work but is there a another way to do this? Thanks, Ben Bleser...more >>

Last Executed SP (Log file)
Posted by Sundar Bramanayagam at 3/31/2005 8:07:06 AM
Hi I want to know what is the last stored procedure executed in the server and by which user. Is it possible to find. (I think there is some log for this) anybody can help me. Advanced Thanks B. Sundar...more >>

page file grows (64-bit)
Posted by r.bryan.kane NO[at]SPAM gmail.com at 3/31/2005 7:36:24 AM
Our Page file seems to be growing out of control. We have a SQL Server 2000 64-bit on an Itanium system w/ 8 GB of RAM. when we start/re-start the service, the page file is a reasonable size (1 to 1.5 times RAM). After this the page file grows by 0.25 GB per hour. PerfMon says that SqlServer...more >>

problem reinstalling SQL Server 2005 Beta2
Posted by Orville at 3/31/2005 7:31:09 AM
I am testing SQL Server 2005. I tried to uninstall Beta2 and ended up having issues. Now, I cannot get the setup to run to do reinstall. Okay, the uninstall didn't work. How can I get machine XP Pro cleaned Up and get the product reinstall? Do I have to reinstall the OS and Reformat my disk dr...more >>

Data change during backup.
Posted by andrea favero at 3/31/2005 7:25:03 AM
I have found this article: Dynamic Backups SQL Server 7.0's backup process is faster than SQL Server 6.5's process. Let's look at how these two processes differ. When SQL Server begins a backup, it notes the Log Sequence Number (LSN) of the oldest active transaction and performs a checkpoint...more >>

Xlang SP automating cleandoneinstances sp
Posted by Wynn1964 at 3/31/2005 6:33:16 AM
I hope someone can help with this, at the moment I'm maunually running the stored procedure sp_cleandoneinstances to clear down our Biztalk xlang database on a daily basis. Now my problem is not enough hours in the day, as I'm sure most of you will appreciate, so I want to automate this sp. ...more >>

Standard Edition vs. Enterprise Edition
Posted by Chen at 3/31/2005 6:19:03 AM
Hi, Can someone tell what different with Standard Edition and Enterprise Edition. I knew those prices different. In our production Internet and Intranet need install SQL Server 2000, I just want know if I need do replication for those databases located in this server to secondary site, w...more >>

BCP Format File
Posted by Govardhan MV at 3/31/2005 5:01:01 AM
Hi, 1) How do we specify constant values in BCP Format File? ex FileABC --- CONSTANT 1044035814. 2) How do we map one Value to TWO column fields in BCP Format File. ex -- Data file Value --- "123 ABCDE" Filed1 -- 123 ------ Filed 2.. I want the value to be "AB" Field 3.. I wan...more >>

Performance: Execution Plan ~ entry not in drop down list.
Posted by SQLCatz at 3/31/2005 4:19:02 AM
Hello, I want to capture the texual form of execution plan when using the perfmon utility. From what 've read I need to select the "Performance: Execution Plan". Am unable to find this particluar entry. All the other SQLServer related entries (from 'Access Methods' to 'User Settable') appear ...more >>

Control-M vs SQL Server Agent
Posted by dave222 at 3/31/2005 2:37:04 AM
Hi We have a plan to migrate from SQL Server Agent to Control for job scheduling. For those who have done this or attempted to it, I would be very grateful if you could share some of your experience. I would be interested in: - Which scripting language did you use for wrapper scripts? -...more >>

Moving Database
Posted by topokin at 3/31/2005 1:03:02 AM
I have a System that has 2 Instances of SQL and I need to move a database from one to another. I will like the Users/Logins relating to this database to be intact and automatically move to the corresponding folders "Instance/Databases/DatabaseName/users" and "Instance/Security/Logins" in the ...more >>

BackUps not deleting
Posted by Craig HB at 3/31/2005 12:35:02 AM
I am backing up databases on SQL Server 2000 using a Database BackUp Plan. I have set it to delete files older than 1 day. This used to work, but now just backs up without deleting the old files. Any help would be appreciated, Craig...more >>

SQL Server Agent scheduling process with a UI...
Posted by Dave A at 3/31/2005 12:23:39 AM
Hi, I have the SQL Server Agent service and SQL Server services running under user 'A'. I am logged on as user 'B'. I wish to schedule some processes to run using SQL Server Agent; backups, data manipulation, etc. One of the processes (call it 'P') is an inhouse application that runs, sho...more >>

What's the optimum setup given this hardware
Posted by Erik Myllymaki at 3/30/2005 11:52:35 PM
SQL Server 2000, Windows 2003 server on a Dell 2650 w/ 5 disks and RAID. Should I make: 1. single RAID 0+1 container w/one hot spare 4 partitions: OS, DATA, Pagefile, logfiles. 2. two RAID 1 containers w/hot spare for one of them OS and DAta on one, logfiles and pagefie on the other? 3. ...more >>


DevelopmentNow Blog