Viewing 15 posts - 3,316 through 3,330 (of 3,724 total)
Presumably you have an ordering sequence?
Without details of your table structure the only way that I can think of doing it is by using a cursor, however I would tend...
May 20, 2004 at 1:48 am
Has Scott Adams drawn a picture of your IT director by any chance?
I was told by an old sergeant that when officers gives a stupid order you follow that order...
May 20, 2004 at 1:42 am
There is an old SQL6.5 trick that still works.
sp_addalias <login>,'dbo'
If you run that in your database then your developer login will be the dbo and therefore all objects created in...
May 20, 2004 at 1:33 am
Let us suppose that your procedure inserts records into a customer table, and order table and an order item table.
You could have a single procedure to do this, but there...
May 20, 2004 at 1:21 am
You set @insertSql statement is trying to concatenate a string and a date, and therefore throws the error.
If you want to build the string then simply do the following
set @insertSql='Insert...
May 20, 2004 at 1:13 am
Surely, this is what the MODEL database is for?
May 20, 2004 at 1:04 am
I think the great thing about MIDI was that it was a standard when there weren't any standards.
To come up with a replacement for MIDI would be a major achievement, after...
May 19, 2004 at 9:45 am
There is an IGNORE_DUP_KEY when creating and index which has to be on a unique index.
If you run an insert statement that adds rows to a table and some of...
May 19, 2004 at 1:49 am
I take it you have some performance problems?
If your staging and production database are on the same box then I would use one of the methods you mention.
If the two...
May 18, 2004 at 1:52 am
We have just had our first contract tester and I have to say that it has been a very positive experience.
Our QA environment highlighted the need for a change in...
May 17, 2004 at 12:39 pm
If you can login to one server with the SA password then you can hack into any other SQL Server on the network.
Try sp_addlinkedserver!
Because SA always has id 1 you...
May 13, 2004 at 8:06 am
In the majority of cases it works. In the past year it has failed 15 times on scheduled runs.
It is more the fact that I cannot get any diagnostic information...
May 13, 2004 at 7:57 am
NORMALISATION
Normalise when it is practical to do so. If you have a sales by day of week arrangement then there would be little point in normalising it down to a...
May 13, 2004 at 7:52 am
If the DTS hangs when running within Enterprise Manager then because the display is modal I cannot get to the current activity.
Taskmanager shows 100% CPU utilisation with the sqlserv process...
May 13, 2004 at 7:22 am
Viewing 15 posts - 3,316 through 3,330 (of 3,724 total)