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 > july 2005 > threads for sunday july 10

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

Help with a query
Posted by J Rieggle at 7/10/2005 7:47:26 PM
Hi, I have a problem with a query. Select distinct count(*) from Products B1, categoryProducts B2 where B1.ProductID = B2.ProductID and B2.CategoryID in ( SELECT categoryID FROM Categories WHERE Linkage LIKE (SELECT Linkage+'%' FROM Categories WHERE CategoryID=4...more >>


converting string to integer
Posted by Stephen at 7/10/2005 4:42:14 PM
I have a table where the user enters a coupon number for each record. The coupon number is usually an integer, however the user sometimes enters a suffix charater to the coupon number (i..e "M") so the coupon field is a nvarchar type. Hence the coupon number list might look like this: 567...more >>

Passing several keywords in a string parameter to an SP for IN function
Posted by k.roberts NO[at]SPAM web.de at 7/10/2005 2:15:40 AM
Hi, How cann I pass more than one Keyword in a parameter for the IN comparism? I want to get all records with "ENGLAND" and "WALES" in the KeyWord field. .....AND [a].[KeyWord] IN ('ENGLAND','WALES') works fine ... but AND [a].[KeyWord] IN (@KeyWords) doesn't ... Thanks for any help ...more >>

query works on one server but not another
Posted by randy at 7/10/2005 2:10:02 AM
I'm looking for direction in figuring out why a query that works on my system doesn'nt work on another. SELECT CUSTNO, MODDATE, ACTIVE, WLRFQ, CONTACTTYPE FROM SSCONTACT_Tall WHERE (CUSTNO NOT IN (SELECT CUSTNO FROM SSCONTACT)) this query works o...more >>

Problems with IX locks on a table
Posted by Veeru at 7/10/2005 12:50:03 AM
Scenario: 1. Create a test table with the following statement create table test(colA int identity not null, colB varchar(10)) 2. Open SQL Server Query Analyzer window and type in the following which begins a transaction on test table and leaves it open DECLARE @i int SET @i=1 WHILE(@i<...more >>



DevelopmentNow Blog