Viewing 15 posts - 5,596 through 5,610 (of 8,416 total)
Ever so slightly better:
SELECT C.Name
FROM @Colors C
WHERE NOT EXISTS
(
...
March 9, 2010 at 11:38 am
Nice problem.
SELECT C.Name
FROM @Colors C
WHERE NOT EXISTS
(
--...
March 9, 2010 at 11:25 am
Indexed views can be created in any edition of SQL Server. (reference)
You have to use the NOEXPAND hint to access them in non-Enterprise-equivalents though. This is not necessarily a...
March 9, 2010 at 9:22 am
On the whole approximate data type thing...compare the following table of data type, storage size, largest number that can be stored, and precision:
REAL 4 bytes. 3.4E+38 precision...
March 9, 2010 at 9:14 am
wwei (3/8/2010)
For folloing code, I wanted to get '163773.58', but actually I got '163774'.
Use SELECT instead of PRINT as Lutz mentioned.
Use FLOAT instead of REAL here. REAL is limited...
March 9, 2010 at 8:49 am
It is problematic in 2005 for the reasons you describe. Big arrays = lots of memory usage = poor scalability. On 32-bit SQL Server you are also likely...
March 9, 2010 at 8:20 am
Phil,
Yes, I think I understand. But how about just one example of sample output? Do you want one row per detected change per product, all changes on one...
March 9, 2010 at 8:13 am
john.campbell-1020429 (3/9/2010)
If you add columns to change the clustered key, then the clustered index will be rebuilt.
john.campbell-1020429 (3/9/2010)
March 9, 2010 at 8:10 am
dias.nanda (3/4/2010)
March 9, 2010 at 6:51 am
sql_lock (3/9/2010)
Sorry Paul, just seen your post! Perfect!
I like to help where I can 😛
March 9, 2010 at 6:43 am
GilaMonster (3/8/2010)
CirquedeSQLeil (3/8/2010)
Jason must not be paying attention. I thought George was asking a serious question. (To segue from Gails post.)
I 'complained' about people repeating my posts word for...
March 9, 2010 at 6:34 am
Scary. Get him to run this on a TEST* instance:
-- Using tempdb for demo purposes only
USE tempdb;
GO
-- Test table
CREATE TABLE dbo.IdentityTest
...
March 9, 2010 at 6:32 am
Those table sizes are only moderate - not too scary at all. Correct design is key, as mentioned in the previous comments. With a relatively small number of...
March 9, 2010 at 6:21 am
Isn't 30 seconds the default time out interval for a Command object execution in .NET languages?
Just a thought.
March 9, 2010 at 6:15 am
2Tall,
Could you confirm the expected output based on the sample data please?
If it is not obvious from the sample, please also explain the rules for producing the output.
Thanks
Paul
March 9, 2010 at 6:14 am
Viewing 15 posts - 5,596 through 5,610 (of 8,416 total)