Viewing 15 posts - 4,381 through 4,395 (of 6,036 total)
Can you post the exact statement you use to delete global temp table?
April 30, 2007 at 3:04 pm
chandramohann, any kind of query from 3 tables containing under 50k rows all together should not take more than couple of seconds, unless you running it on a server with...
April 29, 2007 at 8:46 pm
+ CHAR(13) + CHAR(10) +
If other strings are NVARCHAR and result must be NVARCHAR you need to use
+ NCHAR(13) + NCHAR(10) +
April 28, 2007 at 3:36 pm
Check permissions for the account running SQL Server Agent.
It could be not the same as for SQL Server.
April 27, 2007 at 5:01 pm
You can easily read Unix flat files using BULK INSERT with a little help from Format File.
See "BULK INSERT", "Using Format Files" topics in BOL.
April 26, 2007 at 7:52 pm
If you would open BOL you could find this in there:
A nonnullable timestamp column is semantically equivalent to a binary(8) column. A nullable timestamp column is semantically equivalent to a...
April 26, 2007 at 2:25 pm
How do you "verify that all data on these equivalent tables on both databases are syncronized (to avoid missing data)"?
April 25, 2007 at 4:39 am
Consider that insert into view will be single transaction.
You don't need to play with transactions, with locking. SQL Server will do it for you.
And you can perform set inserts, not...
April 24, 2007 at 3:45 pm
It does not make any sense.
Timestamp does not hold any useful information, so there is no point to copy it across.
Only point of timestamp column - is to indicate if...
April 24, 2007 at 3:29 pm
DECLARE @InvoicesToReturn
SET @InvoicesToReturn = 2 -- ideally this value must be stored in database
SET ROWCOUNT @InvoicesToReturn
SELECT RowID
INTO #SelectedInvoices
FROM dbo.Invoice
ORDER BY ....
SET ROWCOUNT 0
SELECT I.*
FROM dbo.Invoice I
INNER JOIN #SelectedInvoices S ON...
April 24, 2007 at 3:16 pm
I would create a view from these 2 tables and INSTEAD OF INSERT rigger on it.
Trigger will populate the tables using code similar yours.
You may add grouping to eliminate duplicate...
April 24, 2007 at 6:38 am
I don't see any difference between 'Allegic to Dogs, Cats, Shellfish' and 'Allegic to Dogs, Shellfish, Cats'?
So, there not gonna be any cobinations.
Every assessment sets some current conditions.
After every assessment...
April 23, 2007 at 8:26 pm
Jeff, can you appoint "End Date" for your medical condition?
You must have very good connections up there to do it. ![]()
Most people don't.
That's why...
April 23, 2007 at 4:58 pm
You need to read EXECUTE topic in BOL.
@return_status is what you gonna be interested in the most.
April 23, 2007 at 3:36 pm
It does not explain why you need RBAR operation.
INSERT INTO Item
(LegalNumber, Col list)
SELECT N.LegalNumber, ColumnsList
FROM DataSourse S
INNER JOIN LegalNumbers N ON S.SomeID = N.SomeID
April 23, 2007 at 2:13 pm
Viewing 15 posts - 4,381 through 4,395 (of 6,036 total)