Viewing 5 posts - 1 through 5 (of 5 total)
It's nice to hear this kind of arguments.
There are a few rules that I use for temporary variables tables.
If sql has exception statements and not writing big tables to...
December 22, 2006 at 7:31 am
DECLARE @dummy TABLE (tid INT, VARCHAR(20))
SELECT * FROM @dummy
is this help
December 22, 2006 at 7:27 am
You can use table as variable in SQL2000. We are using it for memory based tables.
Just search on google.
December 22, 2006 at 7:01 am
Have you think of using table variable like
declare @temptable table( name varchar(20), id int)
insert into @temptable
select name, id
from tables
select * from @table
This is all memory based and table...
December 22, 2006 at 6:15 am
I think we need more information to answer your question properly but try this.
select ReceiptDate,
(select B.instock
from B.stock B
where B.ProductID in (select distinct C.ProductID
...
December 22, 2006 at 5:58 am
Viewing 5 posts - 1 through 5 (of 5 total)