All the while, I've been using the usual column(s) with the usual datatype
(e.g. varchar, int, ..) as the primary key(s) of the tables I have. For
instance, I have a Customer table, then I will make the VARCHAR(4) CustID
column as the primary key.
Now, my colleague told me that using an ide...
more >>
I would like to perform a Create on a stored proc if not found but alter in
the case of an existing stored proc and do this in the same file. I can do
it in 2 files and run if I know state of db. Is it possible to do the
following:
if ( Stored Proc does not Exists) {
Create Stored Proc...
more >>
How can I tell who added some files to the database, and when?...
more >>
How many SPs could be nested 'normally',
i have seen nesting with level of 10 and totally calling more than 50
Procedures
being invoked from one single procedure, thereby being involved triggers and
cursors.
The DB Programmers are like 'scripting people'....
more >>
I have an app that runs a process. One of the steps is embodied in a stored
proc (sql 2k5), and it sometimes times out after 120 seconds. Bear with me,
I've done quite a bit of work on this.
The stored proc creates a temp table with IDs of records to delete, then
deletes records from 10 t...
more >>
Hi,
I'd like to drop off all connections to the server at a certain time.
How do I complish it?
TIA
Ana
SQL05...
more >>