Viewing 15 posts - 361 through 375 (of 663 total)
As J.O.S. was suggesting
SELECT Sn.[id],COUNT(*) AS coun_id
FROM Sn RIGHT JOIN SilokE ON sn.[id]=SilokE.[id]
Where sn.[id] IS NULL
GROUP BY SilokE.[id]
For all remove the where clause.
June 29, 2003 at 2:45 pm
Have a look at : Making the most of SQL Server 2000 collations at http://www.itworld.com/AppDev/136/ITW3856/pfindex.html
June 29, 2003 at 2:34 pm
Quit interesting the subjective part of the discussion.
Remind me of an article, think it was a Barbara Kitchen, why do a lot of projects fail : Visibility and Communications. Chuck...
June 26, 2003 at 8:32 pm
SQL Internal Datetime:
datetime
Date and time data from January 1, 1753 through December 31, 9999, to an accuracy of one three-hundredth of a second (equivalent to 3.33 milliseconds or 0.00333 seconds)....
June 25, 2003 at 10:37 pm
I basic need/purpose is to perform some integrity checks, whether through triggers, foreign keys, stored procedures, etc.
I think one should look at the seq in which the server apply foreign...
June 25, 2003 at 1:44 am
What about the nested firing of triggers are on?
June 25, 2003 at 1:27 am
Oops, should have added the following:
Open Query Analyser.
Change database to your database.
Copy and paste code from previous post.
June 25, 2003 at 12:51 am
Is this what you want?
CREATE TABLE [dbo].[Test] (
[ColA] [int] NOT NULL ,
[ColB] [varchar] (5) NOT NULL ,
[ColC] [money] NOT NULL)
GO
ALTER TABLE [dbo].[Test] WITH NOCHECK ADD
CONSTRAINT [PK_Test] PRIMARY KEY ...
June 25, 2003 at 12:49 am
Thanks for replying.
Just read the thread again.
You have said it already, "No hints, no special tricks, just good development practives, proper testing and keeping transaction ops short and batchs down/overnight."...
June 23, 2003 at 10:42 pm
CKempste will you supply a bit more info. on your environment, standards, etc.
June 23, 2003 at 10:26 pm
To leave the database in a consistent state.
If the trigger detect an error a rollback / undo of the 'insert' is automatically performed.
Read about Codd and his 10 relational commandments.
June 23, 2003 at 5:21 pm
I think there was a discussion on this site about the 'limit' in 2000, bit low on fuel to search for it.
Other potential problem with IN is NULLS and NOT...
June 19, 2003 at 3:39 pm
Stop SQL server. Copy mdf / ldf to another SQL Server and try to attach the database.
June 18, 2003 at 12:19 am
What is better to use the on clause exclusive for the links between tables or to add everything into the on clauses, thus making the where clause fairly small
June 17, 2003 at 3:50 pm
Viewing 15 posts - 361 through 375 (of 663 total)