Viewing 15 posts - 44,476 through 44,490 (of 59,063 total)
Dangit... sorry folks... I posted in a hurry and left out the underscore in ROW_NUMBER(). Andrew has the correct code and I went back to my previous erroneous post...
March 21, 2009 at 9:36 am
Lynn Pettis (3/20/2009)
Jeff Moden (3/20/2009)
If you did it your way, which numbers would be reserved if you needed 100 numbers as the increment?
You know, I was looking at it from...
March 21, 2009 at 9:21 am
Heh... I agree... all of the technology is fasinating. But the thing that increases my productivity the most is... downtime. Even the hour long drive to work is...
March 20, 2009 at 9:16 pm
cmaciasg (3/19/2009)
How could manage all that stuff dinamically? That is, If the columns aren´t 3, but many of them, col1, col2, col3, ...., coln....
March 20, 2009 at 9:05 pm
Florian Reischl (3/19/2009)
I've begun a new project and my predecessor used a char(10) field as the primary key in all tables. The key is generated by using the last 10...
March 20, 2009 at 8:54 pm
I'd have to ask what you're doing with CLR's that you think you can't do in T-SQL.
March 20, 2009 at 8:43 pm
josephptran2002 (3/20/2009)
Please please please email me at josephptran2002@hotmail.com So I can explain to you on the regular mail.
Nah... keep it all here so we might all learn something, please.
March 20, 2009 at 8:40 pm
ramu.valleti (3/20/2009)
what do you mean by "single query".?You can use sub queries to achieve this.
Regards,
Ramu
Cool... let's see it, Ramu.
March 20, 2009 at 8:36 pm
Ok... again... here's the test data...
drop table #OriginalTable
go
SELECT '913.135.9000 x:6390' AS FullPhoneNumber
INTO #OriginalTable UNION ALL
SELECT '(305)529-6911x2101' UNION ALL
SELECT '(206)965-2626' UNION ALL
SELECT '109.391.3261' UNION...
March 20, 2009 at 8:33 pm
Nope... bad move on my part... it's going to have to be a function because there's no guarantee that you won't have duplicate phone numbers after the split and that...
March 20, 2009 at 7:55 pm
Ok Shamshad... you've got almost 400 points to your name. That means you've been around long enough to know how to post data for sample data to make it...
March 20, 2009 at 7:47 pm
Lowell (3/20/2009)
March 20, 2009 at 7:30 pm
""Sameer"" (3/20/2009)
How to querry a table that will give output like
1.Atleast one from this and atleast one from other.....
eg.1.Find the name of each student who has taken...
March 20, 2009 at 6:06 pm
Viewing 15 posts - 44,476 through 44,490 (of 59,063 total)