Viewing 15 posts - 2,926 through 2,940 (of 3,615 total)
See SQL Server Central's most popular article http://www.sqlservercentral.com/columnists/jtravis/understandingthedifferencebetweenisnull.asp
Try IS NULL rather than = NULL unless you want to SET ANSI_NULLS OFF
December 9, 2004 at 2:49 am
I have a mental image of Chewbacca in a bikini
December 9, 2004 at 2:29 am
CROSS JOINING?
Mummy, what's a werewolf?
Shut up and comb your face!
December 8, 2004 at 3:36 am
SELECT SUM(Hair)
FROM dbo.AspiringDBA
Produces the same results that it did 15 years ago. The difference comes when you do
SELECT Location,SUM(HAIR)
FROM dbo.AspiringDBA
GROUP BY Location WITH ROLLUP
..and see NULL against head.
Actually I'm doing...
December 8, 2004 at 2:22 am
Do you ever get the feeling that the law is to enrich lawyers and tax law is to enrich accountants?
Someone once wrote that the upper classes make illegal those pleasures...
December 6, 2004 at 3:40 am
CHECKPOINT
GO
BACKUP LOG YourDatabase WITH TRUNCATE_ONLY
CHECKPOINT
GO
USE YourDatabase
GO
EXEC sp_helpfile
One you have run the above you should be able to use your DBCC SHRINKFILE on the files listed.
December 6, 2004 at 2:57 am
Its a bit off topic but a similar problem exists if you are trying to sell open-source solutions.
Firstly, open-source is mistakenly seens as "free" software.
Secondly, if the software is cheap...
December 6, 2004 at 2:51 am
Look on the bright side Frank. Germans have been voted the most desirable tourists in Europe and British the least! This means an extra £1,000 on the cost of a holiday...
December 6, 2004 at 2:40 am
If you can identify a particular column that will cause a negative result then simply multiply your entire formula by
sign(sign(MyNegativeColumn)+1)
The sign function returns
December 3, 2004 at 8:34 am
The defense for this was that SSWUG were acting as a collation service so that all relevant links were present within their site. There is something to be said for...
December 3, 2004 at 2:23 am
Here in the UK anti-fit jeans are being marketed
I've been wearing them for decades and I can buy 6 pairs for the price of...
December 3, 2004 at 1:59 am
I don't have a SQL7 box to hand but in 2000 you do the following within Enterprise Mangler
December 2, 2004 at 4:07 am
Grant permissions to a role rather than a user and then assign users to the role. A user is more likely to leave than a role is to become obsolete.
USE...
December 2, 2004 at 2:41 am
try exec sp_changedbowner 'domain\user'
The thing with sp_addalias is that many logins can be aliased to one user.
December 1, 2004 at 3:23 am
Viewing 15 posts - 2,926 through 2,940 (of 3,615 total)