Viewing 15 posts - 1,006 through 1,020 (of 1,170 total)
Thank you guys!
Your suggestions helped me
Regards
IgorMi
Igor Micev
November 22, 2012 at 2:52 pm
anthony.green (11/20/2012)
IgorMi (11/20/2012)
sql-lover (11/19/2012)
Use COLLATION clause in one of the joins .. 😉If you have a database with a different collation like me, you'll get that error.
Except the collation, your...
Igor Micev
November 20, 2012 at 3:41 am
sql-lover (11/19/2012)
Use COLLATION clause in one of the joins .. 😉If you have a database with a different collation like me, you'll get that error.
Except the collation, your code does...
Igor Micev
November 20, 2012 at 1:42 am
Hi,
You could use MERGE statement in this case, but you have to create indexes on the joining columns. The following link can help you: http://technet.microsoft.com/en-us/library/cc879317.aspx
Regards
IgorMi
Igor Micev
November 19, 2012 at 3:45 pm
Sean Lange (11/19/2012)
IgorMi (11/19/2012)
Select * INTO TargetTable from ... is not a good practice.
Use queries like last one:
insert into TargetTable(A,B,C)
select A,B,C FROM #TempTable;
Where did you hear this? There is nothing...
Igor Micev
November 19, 2012 at 3:09 pm
sqlnaive (11/19/2012)
Igor Micev
November 19, 2012 at 3:04 pm
haiao2000 (11/19/2012)
--dump existing data from target table into a temp table
select * INTO #TempTable from TargetTable;
--drop the TargetTable
drop targetTable;
--recreate TargetTable with additional fields...
Igor Micev
November 19, 2012 at 2:40 pm
Hi,
Your code gives me an error:
Msg 468, Level 16, State 9, Line 8
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS" in the equal to operation.
Use this simple code:
select db_name(database_id)...
Igor Micev
November 19, 2012 at 2:31 pm
George M Parker (11/14/2012)
The following statement converts the column to a nullable column (I ran it in a test scenario...
Igor Micev
November 14, 2012 at 3:37 pm
No it is not. It is a varchar column only.
Igor Micev
November 14, 2012 at 3:02 pm
Yeah, I always appreciate more experienced members answers, especially Gail's
Thanks
IgorMi
Igor Micev
November 13, 2012 at 3:59 pm
Hi All,
My answer was just one sentence, having in mind that I just started a migration process. So it matters what kind of migration you have. For example the above...
Igor Micev
November 13, 2012 at 3:45 pm
Hi Jeff,
Simply brilliant!
Thanks
IgorMi
Igor Micev
November 13, 2012 at 2:31 pm
computergirl (10/16/2012)
Igor Micev
November 13, 2012 at 2:13 pm
Hi,
You may have space issues for your tempdb, or generally space issues, and then it is slow.
Are you rebuilding online or offline?
Regards
IgorMi
Igor Micev
November 13, 2012 at 1:51 pm
Viewing 15 posts - 1,006 through 1,020 (of 1,170 total)