Viewing 13 posts - 211 through 223 (of 223 total)
Hi Nugby, try this. But let me warn you, this is a crooked way of doing it.
And it may not give good performance for large tables (see the functions...
March 23, 2010 at 6:50 am
Try this:
create table #t(customernumber varchar(10), notes varchar(10), lastvisitdate smalldatetime)
insert into #t values(100000, 'text 1', '10.feb.2010')
insert into #t values(100000, 'text 2', '10.feb.2010')
insert into #t values(100000, 'text 3', '10.feb.2010')
;with cte as
(
select customernumber,...
March 22, 2010 at 7:51 am
Lester Vincent (3/21/2010)
March 22, 2010 at 1:37 am
Hey Ray, have you been to Bangalore? I think there are only a few people from Bangalore in SSC (yet to find another one). 🙂
March 18, 2010 at 12:42 am
Hey I didn't quite understand your question. What are you trying to do here?
Copy and process some data from existing tables, based on some conditions and insert the result...
March 17, 2010 at 3:18 am
Why can't you use XML here instead of the table approach? I think it will be more elegant.
create table #t(membername varchar(10), uniquenum varchar(10), id int)
insert into #t values('abc', '4567A4', 1)
insert...
March 17, 2010 at 12:51 am
Hey thanks for the time Paul. I will watch what I write here. I think it is important not to mislead other people who refer to the forums. I will...
March 15, 2010 at 8:27 am
Sorry, but I really want to nail this down. Bear with me.
Are you saying it is faster to copy to the rows to a temporary table, and add the...
March 15, 2010 at 8:06 am
Paul White (3/15/2010)
Arjun Sivadasan (3/15/2010)
March 15, 2010 at 5:26 am
Ya I have tried that (the temp table approach on queries that return ~40k rows with performance improvement from 10 to 2 secs. Ofcourse, with the addition of index) Paul....
March 15, 2010 at 5:05 am
Hi Steven,
Is this what you need?
create table #t(col1 int, col2 int)
insert into #t values (1, 10)
insert into #t values (2, 55)
insert into #t values (3, 68)
insert into #t values (4,...
March 15, 2010 at 4:41 am
pablavo (3/8/2010)
I'm working on a very complex report and want the running time to be as minimal as possible. the report displays financial data and will be used...
March 8, 2010 at 6:52 am
Viewing 13 posts - 211 through 223 (of 223 total)