Viewing 15 posts - 3,196 through 3,210 (of 3,606 total)
Really, this is a case of the road to hell being paved with good intentions. You can see the spirit of what the IT Director wanted to do its just...
May 21, 2004 at 1:22 am
Yes, I know what MODEL is for, its just that it has been hammered into me since SQL6.5 that the MASTER is and always should be sacrosanct.
Robert did bring up...
May 20, 2004 at 7:50 am
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
Viewing 15 posts - 3,196 through 3,210 (of 3,606 total)