Viewing 15 posts - 5,821 through 5,835 (of 6,486 total)
Well - if you don't use the extra field, you still CAN get just one record back per customer. It just might not be the same one every time....
November 6, 2007 at 1:58 pm
In a clustered install of SQL server, local drives are not visible as resources in the cluster and therefore cannot be used in the SQL install. That's "by design",...
November 6, 2007 at 1:36 pm
well then - keep expanding the definition. What do you plan on doing with the results? In other words - why do you need a cursor?
Cursor's tend to...
November 6, 2007 at 1:16 pm
First - I'm assuming you meant 09/30/2007 because 9/31 is going to be hard to achieve.
The big question I have before heading into an example of how to do this...
November 6, 2007 at 1:14 pm
..or - the passwords don't meet the requirements and you have the "enforce password policy" turned on....
November 6, 2007 at 1:08 pm
Let's make sure we're on the same page.
Definition
"surrogate view": a view that is used instead of a table. In this case we're using it so that you can easily...
November 6, 2007 at 1:06 pm
Gotta tell you - I'm feeling a bit let down... With a title like that - I was hoping for something in a fairly tale format....
"Daddy - could you tell...
November 6, 2007 at 12:07 pm
Mark Green (11/6/2007)
This code does not give me a random order of numbers. It just gives me them in numerical order. Albeit 10,000 times.
I'm not sure we're using...
November 6, 2007 at 11:57 am
I'm sure someone is going to trot out a tally table solution any minute now. That being said - doing it the old fashioned way might work....
alter function bintoDec(@bin...
November 6, 2007 at 10:30 am
The EXCEPT syntax is going to use all fields mentioned in the select (meaning ROWID+partnumber+countrycode). If you don't have an index with all three fields, that's going to turn...
November 6, 2007 at 10:06 am
Well - it is true that Select * from table1 will usually run faster than select distinct * from table1 - but if you have duplicates, the first one isn't...
November 6, 2007 at 8:49 am
I'm kind of a fan of the "entry IQ test". On the way in to SSMS/EM, test for intelligence. If you pass - you get to administer the...
November 6, 2007 at 8:32 am
Mark Green (11/6/2007)
Will the following give me the tally table that I need then?
Yessir - it would.
November 6, 2007 at 8:25 am
Jeff Moden (11/6/2007)
Kewl! Anyone interested in a million row duration test on this? 😀 I'd need some help 'cause I don't have 2k5...
Well - the test was for...
November 6, 2007 at 8:25 am
Using David and Jeff's definition - a work table is a table used for temporary purposes. You could create it anywhere: in the local database, in tempDB, some other...
November 6, 2007 at 8:18 am
Viewing 15 posts - 5,821 through 5,835 (of 6,486 total)