Archived Months
January 2003
March 2003
April 2003
May 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
April 2008


all groups > sql server programming > september 2006 > threads for sunday september 17

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

Calling Stored Procedures that return a value
Posted by Taniwha at 9/17/2006 9:12:51 PM
I have these two stored procedures that work as expected. here ================ Create PROCEDURE [dbo].[GetCustomerIDFromCustomerDeviceByGUID] -- Add the parameters for the stored procedure here @gUID uniqueidentifier AS BEGIN SET NOCOUNT ON; DECLARE @customerID int; SELECT @customer...more >>

Newbie, Update table problem.
Posted by Cylix at 9/17/2006 6:50:07 PM
I have a table with 80,000 rows. A column of that is username, I am going to change the table structure since we got a user table already. I have added a column named userID. I would like to update the userID from user table by the username, so far, all userID and username is unique. How t...more >>

best practise to use antivus in cirtrial sqlserver 2005 on w2k3thnks
Posted by alf at 9/17/2006 4:35:27 PM

Creating a new server/instance on SQL Server 2005 with SMO
Posted by Eric at 9/17/2006 3:20:02 PM
Is there a way to create a new instance/server using on SQL Server 2005 SMO? For example, I have SQL Server 2005 installed on Server1, now I want to add a "named instance" called "MyServer", this would then become Server1\MyServer. Is there a way to create "MyServer" using SMO (or WMI for th...more >>

bulk insert: anyway to ignore the rows already in table?
Posted by nkw at 9/17/2006 11:51:02 AM
I want to use bulk insert to insert rows from a text file. The table has a primary key and the text file may have rows caused "duplicated primary key" error. Any way to let the bulk insert not try to insert these duplicated rows?...more >>

Transaction log Flush
Posted by debraleitl at 9/17/2006 10:47:01 AM
Hi, My DBA has flown the coupe, and I need to flush the transaction logs on a data processing DB, as the log has grown so large it filled the disk up. How can I do this? Is there a simple wizard? or Do I need to go into the guts? thanks Debra...more >>

String Representation of Quarter Hour Periods
Posted by Mark at 9/17/2006 6:05:01 AM
I am trying to create a string representation of a quarter hour period within which a time lies. So the time 14:23:36 would be 1415-1429, or 14:10:45 would be 1400-1414 and so on. The time is obtained from a datetime field holding both the date and the time. I am new to SQL and have been try...more >>

Stupid End Users Writing Job Ads
Posted by Mike Labosh at 9/17/2006 3:41:27 AM
All I have to say is the following, and then I will crawl back under my rock. > REQUIRED: > > 5+ years .NET experience in VB, C#, ASP, Java Huh? So if it's 2006, and .NET came out in 2002... I must be at a loss. And I am just HOPING they didn't mean "Java" in a .NET Context. Sorry, I ...more >>



customize query in SP according to parameters provided?
Posted by pedestrian at 9/17/2006 2:22:33 AM
I would like to customized the query statement according to the parameters provided in a stored procedure. Using Northwind Orders table. Says, I create a stored procedure with two parameters (both for OrderID). If user provide only first parameter, only 1 record is returned. If both paramet...more >>

Help - SQL query problem
Posted by Timothy V at 9/17/2006 12:00:00 AM
Hi everyone, i hope someone can help me construct this query. To make it easy, I will provide a simplified example of my problem and relationships will exist between fields that have the same names. Three tables exist: Programs(programID) - pk is programID Jobs(jobID,dueDate) - pk is jobID Pr...more >>

simple Q :How use declared var in executing string?
Posted by Tarvirdi at 9/17/2006 12:00:00 AM
how can I do this : declare @i int declare @s char(10) set @s='select @i =max(id) from aTable where a>10' exec (@s) no connection between to pass @i. How can I set out of string defined in string Thanks ...more >>


DevelopmentNow Blog