Viewing 3 posts - 1 through 3 (of 3 total)
Correct syntax is:
select R.* into SIRSdata
from Budget..Hrbg as R , Revenue..BudHrbg as BD
where R.BudID= BD.BudID and R.servcdate between BD.startDate and BD.endDate
but this query create a table SIRSdata and insert...
April 16, 2009 at 12:56 pm
#979134
Maybe you can use SELECT INTO. SELECT INTO is nonlogged and run faster then INSERT SELECT.
April 16, 2009 at 11:17 am
#979071
Query Time = Time that server needs run the query + Time that client needs to read the result.
Management studio need long time to read and display result.
April 14, 2009 at 4:45 am
#977111