Viewing 15 posts - 1 through 15 (of 20 total)
Thats true. Also DTS has problem with temp tables i suggesr using CTE if there is any temp tables used.
January 2, 2014 at 10:34 am
January 2, 2014 at 9:40 am
One more thing can be done is to use the DTS Wizard.
1. Right click on Database in SSMS.
2. Select Tasks-> Export data
3. Choose Datasource as SQL and give server name...
January 2, 2014 at 9:27 am
Can you specify the pattern of affected data? its just one row so is difficult to find out the solution for everybody...
This should help...
select LEFT(Column, charindex('<',Column))
November 27, 2013 at 2:30 pm
Here is the solution check if this fits your criteria.
create table #t
(
name varchar(max)
)
insert into #t
select '1~2' union
select '1' union
select '1~4~3' union
select '2~3'
select * from #t
SELECT
case when CHARINDEX('~',name,0) >...
November 26, 2013 at 8:56 am
November 25, 2013 at 12:09 pm
just a first thought...the solution you given looks perfect...
November 25, 2013 at 11:25 am
Here is i think what you are looking for..
select distinct
a.cStudentID,
a.School_Year,
a.CourseID,
case when b.termcode is not null then b.termcode else a.termcode end as 'termcode' ,
case when b.termcode is not null...
November 25, 2013 at 9:24 am
hi Gopi,
please check out the blog to ensure correct understanding of how SQL stores rows into pages.
How SQL Stores rows in 8Kb pages [/url]
Hope you will like it.
November 24, 2013 at 4:48 pm
This is only possible if you set the NVARCHAR value as XML like below.
declare @a nvarchar(max)
set @a = N'<root><name> SQL Server 2012</name></root>'
select cast(@a as xml)
It...
November 23, 2013 at 6:24 pm
Please check the below article to know more about how is null works and what you should do to get it worked in your
http://borngeek.in/isnulltransact-sql-explored-in-detail/[/url]
November 21, 2013 at 6:57 am
Thats a nice explanation you got !!!
There is also a thing to remember about the ISNULL behavior which is very useful while coding.
Check below link:
http://borngeek.in/understanding-isnulltransact-sql-behavior/
October 14, 2013 at 6:23 am
Any update on this ?
Below is the error description
Executing the query "stored proc name" failed with the following error: "Timeout expired. The timeout period elapsed prior to obtaining a...
May 23, 2013 at 12:27 pm
No, It can not be done. The SP GetData is a generic one and can be used by multiple SP's.It is also necessary to include the dynamic SQL query in...
July 30, 2009 at 4:09 am
Less than 5 minutes approximately 45 lacs records inserted into database.
Extremely fast.
January 12, 2009 at 7:04 am
Viewing 15 posts - 1 through 15 (of 20 total)