Viewing 15 posts - 121 through 135 (of 221 total)
Additional caveat: although the Lazy Evaluation gives a neat way of not using concatenated strings and dynamic sql, it can only really be used on small tables - I've just...
December 18, 2001 at 3:06 am
This is the sort of thing you could use:
--drop table TblTest
--go
create table TblTest
(
SupplierId int null,
CompanyID int null
)
go
insert into TblTest (SupplierId, CompanyID) values (1,10)
insert into TblTest (SupplierId, CompanyID) values (2,20)
insert...
December 18, 2001 at 2:40 am
Here is the link:
This will take a little while to write so I'd start with a small version using a couple of variables and check out the query...
December 17, 2001 at 7:34 am
Nice, clear article - I think if I come across this type of system in the future I'll easily recognise it now. Not sure that I would choose to implement...
December 17, 2001 at 3:38 am
Looking at the used memory is a little misleading, because SQl will cache the compiled sps and table data until it uses up the available memory, so in your case...
December 14, 2001 at 6:18 am
Haven't reviewed Red-Gate but still might be worth trying the DTS route. I have a setup which copies objects between servers using the copy objects task - all objects, sps,...
December 14, 2001 at 5:52 am
Several posibilities come to mind.
If you're happy doing this manually, just highlight the tables, sps etc in EM and right click, All Tasks, Generate SQL Scripts. You can also script...
December 13, 2001 at 8:21 am
Might be relevant to NT:
Win 2000 Server supports a maximum of 4 processors.
Win 2000 Advanced Server supports a maximum of 8 processors.
Paul Ibison
December 13, 2001 at 8:13 am
Full-text indexing could be used for probably the subject column but be aware that wildcards are not valid at the start of the argument, so a direct replacement of %Subject%...
December 13, 2001 at 7:19 am
Have a look at Page 2 of this forum - there is a relevant thread ("Select * from @var" possible?") which will probably answer your questions.
Paul Ibison
December 12, 2001 at 2:26 am
You could run a profiler and correlate this with the increate in RAM useage from Performance Monitor and this might clarify the issue. When I discovered this site I had...
December 11, 2001 at 7:10 am
Thanks, Andy - nice to know I'm on the right track. One final question though: I intend to use log shipping between the 2 SQL 2000 boxes, and I know...
December 5, 2001 at 9:24 am
My guess is that this is not a high enough severity level to generate an error as such - more of a warning. If it's not in the error log...
December 5, 2001 at 4:02 am
I'd import the data into a staging table having two fields. Then use a cursor which iterates through the new table and inserts each company/accountno pair into the final table....
December 4, 2001 at 7:46 am
If you use a go after the alter table it should work ok - eg:
create table #dummy
(
PERSONAL_REFERENCE varchar(10)
)
insert #dummy ( PERSONAL_REFERENCE )
values(1)
alter table #dummy add STAFF_NAME varchar(60) NULL
go
update #dummy
set #dummy.STAFF_NAME...
December 4, 2001 at 5:02 am
Viewing 15 posts - 121 through 135 (of 221 total)