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 2007 > threads for saturday september 1

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

Group by erorr
Posted by .nLL at 9/1/2007 4:57:03 PM
Select Top 25 Count(id) as HowManyFromCountry,ip, ( SELECT CountryCode FROM [IP2COUNTRY].[dbo].[ip_networks] WHERE IpFrom = ( SELECT MAX(IpFrom) FROM [IP2COUNTRY].[dbo].[ip_networks] WHERE IpFrom <= (select [IP2COUNTRY].dbo.ip2int(uploads.ip)) ) AND IpTo >= (select [IP2COUNTRY].dbo.ip2int(upl...more >>


get id (from identity column) when I do an Insert...help
Posted by trint at 9/1/2007 4:23:26 PM
When I do an insert that automatically generates a new id in the identity column, how can I immediately get back that id so I can put it into a string in c#? here is the table: id | user_id | name | etc..... 123 4519 trint atsidi 124 7821 jane doe 125 ...more >>

Provider Model: Planning Ahead
Posted by Fao, Sean at 9/1/2007 10:22:39 AM
I'm designing an application around the provider pattern (http://msdn2.microsoft.com/en-us/library/aa478948.aspx) and I'm trying to plan ahead for multiple applications. As I'm sure many of you are aware, the schema defines a table for Users, which has an ApplicationId column for mapping th...more >>

Constraint problems
Posted by Troy at 9/1/2007 6:22:01 AM
Hi, I have a table setup that gives some problems (on 2005); create table A ( id int identity(1,1) not null, type int not null, text varchar(10) ) alter table A add constraint A_PK primary key ( id, type ) alter table A add constraint A_C non unique ( id ) create table B ( id...more >>

How to calculate string
Posted by Niki at 9/1/2007 5:48:01 AM
Hi all, I have a string expresion @formula ="(5+3)*5" How to calculate this string like a formula. Result must be 40 Thank's...more >>



DevelopmentNow Blog