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 > january 2005 > threads for sunday january 16

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

UNIQUE Constraint
Posted by AKG at 1/16/2005 11:25:01 PM
Hi, I need to a column for Uniqueness before adding a record and return result to calling program using a stored procedure. Here is my schema: CREATE TABLE [dbo].[Objects] ( [ObjectID] [int] IDENTITY (1, 1) NOT NULL , [ObjectTitle] [varchar] (100) NULL , [ObjectType] [varchar] (100)...more >>


Deleting and Logging records in Self Joining Table
Posted by AKG at 1/16/2005 10:25:02 PM
Hi Everyone, I'm having problem deleting as well as logging the records in a self joining table (Adjacency List Model). Here is my schema: CREATE TABLE [dbo].[Objects] ( [ObjectID] [int] IDENTITY (1, 1) NOT NULL , [ObjectTitle] [varchar] (100) NULL , [ObjectType] [varchar] (100) NULL...more >>

Query Builder Tool
Posted by DavidM at 1/16/2005 7:50:04 PM
Hello -- does anyone know of any good tools to create queries for SQL Server? I'm currently using Query Analzyer, but would like something a bit more QUI oriented similar to what Access has -- where I can insert tables and drag columns, etc. Any help would be appreciated. ...more >>

Queries with cursors can't be executed back to back
Posted by shop NO[at]SPAM pacifictabla.com at 1/16/2005 6:25:15 PM
Hi: I have two queries shown below. They both use cursors created from the same table (but with completely different data), and they both write to the same table. Problem is, when I run them back to back in Query Analyzer, the first one will execute and insert rows in the "CallByCallYesterday...more >>

Building datasource string
Posted by Alexander Szigetvary at 1/16/2005 4:40:13 PM
Hi NG! I want to use the following: OPENROWSET('Microsoft.JET.OLEDB.4.0', 'Excel 8.0;Database=C:\TEMP\file1.xls', 'SELECT * FROM [Sheet1$]') Is the a way to replace c:\temp\file1.xls with a parameter? Like create procedure test @file varchar(200) as OPENROWSET('Microsoft.JET.OLEDB...more >>

Date and not DateTime
Posted by Tom at 1/16/2005 2:48:21 PM
Hi How do i display the Date and only the Date working with DatePart? ch Tom ...more >>

SQL insert. grab autonumber associated with the insert
Posted by Dean g at 1/16/2005 11:35:00 AM
hi all, Basically when i insert a new item into my database an automatic itemid is created. I need to somehow grab the itemid created and use it in the next statement. i.e insert into item(beer) values ('stella') 'this now stores stella with an automatic number say itemid...more >>

Date and Time Question
Posted by Gassy at 1/16/2005 3:27:02 AM
I have two columns that store the date and time. The first stores the date as an eight character string in the format YYYYMMDD and the second stores the time as a six character string in the format HHMMSS. How do i combine the two to give me a single date and time value that displays as a tw...more >>




DevelopmentNow Blog