Viewing 15 posts - 6,256 through 6,270 (of 14,953 total)
Take a look at Rank, Dense_Rank, and Row_Number. Those should give you what you need.
November 4, 2010 at 9:16 am
Build cost vs use cost is an important part of determining whether to index a temp table. That's definitely true.
Most of the time, if a temp table should have...
November 4, 2010 at 9:14 am
Set them up as sequential steps in a single job.
If you need to add a delay in between, set that up as step in between.
November 4, 2010 at 9:11 am
This is going to depend on a LOT of factors.
If, for example, your business requires 24x7x365 uptime, then you will pretty much have to apply them "on the fly".
As for...
November 4, 2010 at 9:10 am
alan.paxton (11/4/2010)
LoginCount int null
AllowedLoginCount int null
If AllowedLoginCount is greater then zero, this is how many time they...
November 4, 2010 at 8:41 am
TheSQLGuru (11/4/2010)
November 4, 2010 at 8:38 am
Start with sys.indexes and sys.index_columns. Read up on those, and it'll get you started.
Really though, I'd get a product like RedGate's SQL Compare or ApexSQL's Diff, which can compare...
November 4, 2010 at 8:23 am
You'd have to run it in a Windows VM. That would be easy enough to set up.
November 4, 2010 at 8:20 am
You could easily set something like this up with a login trigger.
The problem would be getting and remembering the new password once it's issued, so the trigger would need to...
November 4, 2010 at 6:48 am
And here I thought it was called by the more formal name, "bumping into someone in the hall and asking a question about a project". I guess "swarm" does...
November 4, 2010 at 6:42 am
Yes, a case statement is another option.
I don't like to use them when a table can be used, because changing data in a table doesn't require rewriting code, but changing...
November 4, 2010 at 6:36 am
David Webb-200187 (11/3/2010)
Was the error thrown on the database server or on the client receiving the data? Was there an 'order by' on the select?
Honestly, does it matter whether...
November 4, 2010 at 6:35 am
CELKO (11/3/2010)
What you want is to return to the old days when data...
November 4, 2010 at 6:24 am
GilaMonster (11/3/2010)
GSquared (11/3/2010)
The Not Exists version is very similar, and SQL Server will often convert it to a Not In query anyway, behind the scenes.
Except it behaves differently in the...
November 4, 2010 at 6:21 am
Viewing 15 posts - 6,256 through 6,270 (of 14,953 total)