Viewing 6 posts - 46 through 51 (of 51 total)
For Distinct try like this.
select a.Number INTO One_Column FROM
(select Number from Merge_Columns
UNION
select Number from Merge_Columns1
)a
For whole data from both table try like below.
select a.Number INTO One_Column FROM
(select Number from...
December 26, 2013 at 9:50 am
Sean Lange (10/25/2013)
p.shabbir (10/25/2013)
Sean Lange (10/25/2013)
p.shabbir (10/25/2013)
Hi Scuby,Try this.
select REPLACE(SUBSTRING(Your_Column,1,CHARINDEX('@',Your_Column)),'@','') Name from Your_Table NOLOCK
Thanks
sibi.
Why NOLOCK???
Sean,
At my work i used to specify "NOLOCK" at the end of select statement.Hence, by habit...
October 25, 2013 at 3:50 pm
Sean Lange (10/25/2013)
p.shabbir (10/25/2013)
Hi Scuby,Try this.
select REPLACE(SUBSTRING(Your_Column,1,CHARINDEX('@',Your_Column)),'@','') Name from Your_Table NOLOCK
Thanks
sibi.
Why NOLOCK???
Sean,
At my work i used to specify "NOLOCK" at the end of select statement.Hence, by habit i mentioned there.You...
October 25, 2013 at 3:25 pm
Hi Scuby,
Try this.
select REPLACE(SUBSTRING(Your_Column,1,CHARINDEX('@',Your_Column)),'@','') Name from Your_Table NOLOCK
Thanks
sibi.
October 25, 2013 at 2:57 pm
Thanks for info rohit.But i want it in script task.
October 24, 2013 at 2:36 pm
Thanks for quick response Luis.
I am just practicing.
I know we can do that by tasks but, i want to learn how to do using script task only. I googled it...
October 24, 2013 at 2:06 pm
Viewing 6 posts - 46 through 51 (of 51 total)