Archived Months
January 2003
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
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
July 2007
August 2007
September 2007
October 2007
all groups > sql server misc > march 2005

sql get next 30 days
Posted by Maziar Aflatoun at 3/29/2005 9:27:05 AM
Hi everyone, I have a date field in my database. I like to issue a sql query to return all the rows for the next 30 days from today. Can anyone help? Thank you Maz. ...more >>


Moving data between tables
Posted by Jason Williard at 3/20/2005 7:19:36 PM
I am currently using a stored procedure to delete users from our database who are considered inactive. This works great. However, we have decided that we want to archive these users to a identical (structure) table in the same database. To do this, I need to find an easy way to take the dat...more >>

Setting Fiscal Year
Posted by Patrick Russell at 3/15/2005 9:46:08 PM
Is there a way to configure a fiscal year starting on Oct 1, in SQL Server, or do I need to create a UDF to handle conversion of quarter and week? Thanks Patrick ...more >>

Need help with stored procedure.
Posted by Vanessa Lee at 3/13/2005 7:26:29 PM
Hi, I am using SQL Server 2000 on Windows 2000 server. Here is my problem: @String = 'word1word2word3word4word5' - This value is passed to Stored Procedure from the script. Column1 in a table1 has many rows with "words" . One row in this column1 will have 'word3'. Notice that this 'word3' i...more >>

Multiple where clause help please
Posted by GitarJake at 3/9/2005 10:51:09 AM
Hello, What is wrong with this query? There are no messages other than (0 row(s) affected). The criteria 5 and 16 does exist. UPDATE articles SET DEPART_REF = '19' where ARTICLE_PARENT_ID = '5' or ARTICLE_PARENT_ID = '16' Thanks in advance from a sql newbie Jake ...more >>

Converting delimited varchar @parameter for use in NOT IN()
Posted by Patrick Russell at 3/7/2005 8:12:57 PM
I am creating a stored procedure which is passed a comma delimited string of ids as a varchar datatype. The param is to be used in an SQL statement such as: CREATE PROCEDURE GetFromTable @IDs varchar(255) AS SELECT * FROM table WHERE iId NOT IN(@IDs) GO The problem is that the iI...more >>



DevelopmentNow Blog