Viewing 15 posts - 21,436 through 21,450 (of 22,184 total)
Sorry, I wasn't trying to upset anyone. I'm serious. I screw up all the time. The checks I can put in place to prevent my own errors will help those...
November 30, 2007 at 6:54 am
In order to select FROM something, it needs to be a table valued object (table, view, function, temp table, table variable, OPENXML, XQuery). You can run a query against a...
November 30, 2007 at 5:55 am
What about literally breaking the query up into smaller queries? You can call them all from a single wrapper query. You get more discrete, tuneable execution plans and you can...
November 30, 2007 at 5:51 am
P Jones (11/30/2007)
There's considerable power in .NET datatables, datarelations, foreign keys,primary keys and constraints that can be all done programmatically.
Works like a charm too... until the first time a request...
November 30, 2007 at 5:34 am
We're using this method and the same idea with whole databases in some of our datamarts. It works well to minimize down time. Best of all, if there is a...
November 30, 2007 at 5:24 am
Having sent a few e-bombs in my time, I try hard to look at what I've written before I hit send if emotion is an attachment. Usually, if I'm completely...
November 30, 2007 at 5:22 am
Oh, you'd have to drop the connections for the ms that the query takes, but, based on the process you've defined, you're slapping the users around at some point no...
November 29, 2007 at 12:18 pm
How about sacrificing a little disk space;
Create the new table with a different name
load the new table
rename the old table
rename the new table.
drop the old table
The down time is completely...
November 29, 2007 at 12:05 pm
Andras Belokosztolszki (11/29/2007)
Do read the instructions (after the install you will need to attach the extracted database files, but this is detailed...
November 29, 2007 at 7:13 am
November 29, 2007 at 7:12 am
You've got a slight syntax error. Your code should look like this:
CREATE TABLE BATCHES_LOT_DETAILS
(
[BATCHNO] varchar(15)
,[CALCULATED] char(1)
...
November 29, 2007 at 7:02 am
That last error sounds like you either aliased the table and then referred to it by name or that you dropped the table prior to that part of the script...
November 29, 2007 at 6:50 am
Or do a search in the little box near the top of the page. You'll find tons of discussions and articles and scripts on the topic, all on this site.
November 29, 2007 at 6:45 am
As far as I know, you're going to have to monitor that table. That means setting up some type of service to check the table periodically and respond to the...
November 29, 2007 at 6:27 am
Do you mean something like this:
ALTER TABLE dbo.X
ADD CONSTRAINT MyConstraint
FOREIGN KEY (aa,bb)
REFERENCES dbo.Y(aa,bb)
Like that?
November 29, 2007 at 6:16 am
Viewing 15 posts - 21,436 through 21,450 (of 22,184 total)