Viewing 15 posts - 2,716 through 2,730 (of 6,486 total)
rbarryyoung (6/28/2008)
No, the...
June 28, 2008 at 9:24 pm
Jeff Moden (6/27/2008)
Matt Miller (6/27/2008)
Otherwise - it's very easy to come up with a numbers...
June 28, 2008 at 9:15 pm
I personally roll with a tally table with a 1M limit, but that's a personal choice.
Otherwise - it's very easy to come up with a numbers table of pretty much...
June 27, 2008 at 10:35 pm
SELECT a.ClassId, s.race,
SUM(case when a.Status='P' then 1 else 0 end) AS Present,
SUM(case when...
June 27, 2008 at 10:23 pm
Try rebuilding the clustered index on that table. If need be, you might care to check that the fill factor on the clustered index isn't set to something too...
June 27, 2008 at 2:28 pm
every row has the same time setting, so ANY of the rows could be returned in a
SELECT TOP 1...ORDER BY [DateTime]
There's no guarantee which row would be pulled.
June 27, 2008 at 2:07 pm
Jeff Moden (6/27/2008)
Yuckon (6/27/2008)
Thanks for your input but I think you are missing my point.
The code is made up,
The end user is not the best at writing efficient SQL...
June 27, 2008 at 1:34 pm
What kind of function is it that's performing that many writes? The only thing it can be writing to is a table variable, which then spells trouble since they...
June 27, 2008 at 1:14 pm
Panji_panjul (6/27/2008)
How can i delete data without primary key or specific key , my imagine such as below
delete from table_xx where exists (
select a,b,c from...
June 27, 2008 at 12:58 pm
Actual validation of the file contents and structure using a batch file is not going to be easy (I'm not going to say it's entirely not possible, but it's going...
June 27, 2008 at 12:53 pm
zxn001 (6/27/2008)
And you made me a believer, a very confused one, but still believing.
So now I'm really curious, WHY does the set loop work...
June 27, 2008 at 12:14 pm
My gut would be - copy through batch file, but validate some other method (probably .NET console app to tap into some parsing muscle.)
If all you're looking to...
June 27, 2008 at 12:04 pm
zxn001 (6/27/2008)
However, I must note that in order for the set to work, you must have the pre-existing data for it to compute, which whould require...
June 27, 2008 at 11:35 am
rudy komacsar (6/27/2008)
master full uservalues unique union
with distinct order
or schemabinding! 😛
June 27, 2008 at 11:29 am
thuybui (6/27/2008)
Yes,Microsoft SQL Server Management Studio9.00.1399.00
And what is the compatibility level of the DB in question?
June 27, 2008 at 11:18 am
Viewing 15 posts - 2,716 through 2,730 (of 6,486 total)