Viewing 15 posts - 7,666 through 7,680 (of 13,882 total)
qbrt (1/19/2016)
Phil Parkin (1/19/2016)
qbrt (1/19/2016)
Phil Parkin (1/18/2016)
January 19, 2016 at 7:54 am
alex.sqldba (1/19/2016)
I am just trying to get in line a great many SSIS packages that either might be used, might not be used, are duplicated in terms of purpose,...
January 19, 2016 at 7:50 am
qbrt (1/19/2016)
Phil Parkin (1/18/2016)
WHERE NOT EXISTS...
January 19, 2016 at 7:36 am
Merge can be idempotent. I would recommend doing the UPDATE part of the MERGE only if an update is required. I do this via the
WHERE NOT EXISTS (SELECT source INTERSECT...
January 18, 2016 at 3:46 pm
tusharchpatil (1/18/2016)
no i am not using simultaneouly its writing mistakei wanted to know why rownum not allowed = and > operator to get proper result.?
I cannot understand this.
Please post your...
January 18, 2016 at 2:29 pm
ffarouqi (1/18/2016)
January 18, 2016 at 1:51 pm
ffarouqi (1/18/2016)
January 18, 2016 at 1:35 pm
qbrt (1/18/2016)
January 18, 2016 at 1:32 pm
tusharchpatil (1/18/2016)
If i used select * from emp where rownum < 5;
I am getting the correct output of table ie. 4 rows.
but it is not working on rownum >...
January 18, 2016 at 1:20 pm
Dreamsz (1/18/2016)
I am facing an issue as described below.
select * from dbo.xyz
where a in ('a string of multiple values')
and <some condition>
and cast(a as datetime)=cast(b as datetime)
a is varchar(50), and...
January 18, 2016 at 11:57 am
ROW_NUMBER() is your friend here. Something like:
select rw = ROW_NUMBER() OVER (PARTITION BY KEY_NO ORDER BY DATA)
January 15, 2016 at 12:53 pm
My pleasure. Glad you got it working.
January 15, 2016 at 10:35 am
Have you considered putting 'lag' in your CTE, to get 'previous' price and then selecting from your CTE if price <> previous price?
January 15, 2016 at 9:51 am
Welsh Corgi (1/15/2016)
Phil Parkin (1/15/2016)
Welsh Corgi (1/15/2016)
drew.allen (1/14/2016)
Welsh Corgi (1/14/2016)
I need to create a new table that has an Identity Column so that I can delete the duplicates.
No, you don't....
January 15, 2016 at 7:41 am
Welsh Corgi (1/15/2016)
drew.allen (1/14/2016)
Welsh Corgi (1/14/2016)
I need to create a new table that has an Identity Column so that I can delete the duplicates.
No, you don't. You can use...
January 15, 2016 at 7:09 am
Viewing 15 posts - 7,666 through 7,680 (of 13,882 total)