Viewing 15 posts - 211 through 225 (of 388 total)
You need to choose fields in Sort task that act as a key - you said that you have row 001 potentially multiple times. This has to be the sorting...
May 20, 2008 at 6:01 am
Not sure what you want to say - is it working or not? if you join your tables on all three fields and use outer join AND you will check...
May 20, 2008 at 5:01 am
Hi Sandy,
Outer joins will give you what you need probably:
create table table1(a int, b int, c int)
create table table2(a int, b int, c int)
go
insert table1(a, b, c)
values (1, 1, 1)
insert...
May 20, 2008 at 4:50 am
I noticed the indefinite yellow state when destination table was locked. maybe you could run table operations in sequence?
Do you use fast load destination for inserts?
Piotr
May 20, 2008 at 4:17 am
Maybe you should remove duplicates from the source using Sort task?
Piotr
May 20, 2008 at 4:12 am
What do these jobs do? Maybe they are locking themselves mutually?
Piotr
May 20, 2008 at 4:07 am
It depends on the severity of the error I suppose, but for errors like key violations or check constraint violations, or data errors, constraints are restored during rollback.
create table testtable(a...
May 20, 2008 at 4:00 am
How do you check if a table is partitioned?
Try this query:
select schema_name(c.schema_id) [schema name],
object_name(a.object_id)
,
a.name [index name], a.type_desc [index type]
from (sys.indexes a inner join sys.tables c
on...
May 20, 2008 at 3:36 am
Look at output parameters. You can pass the variable as an output parameter to your dynamic sql and assign it there
Regards
Piotr
May 19, 2008 at 10:13 am
You have to wrap Default in select part of the query in [] brackets as it is reserved word
Piotr
May 14, 2008 at 4:56 am
Hi Sandy,
If you enable identity_insert on a table, you can insert the values from the other databases. Since they maintain referential integrity there, they will on SQL side as well....
May 14, 2008 at 4:51 am
So, if you have empty tables on SQL side, there is no problem.
You have to
drop FK constraint on Users_Groups
set identity_insert Users on
--populate your data from the other db
set identity_insert...
May 14, 2008 at 3:41 am
Can't think about something other than cursor, but instead of executing the code within the cursor, you could use it to generate code into text output. Then you copy the...
May 13, 2008 at 4:46 pm
What does this query return? does it contain the user you have created in the database you wanted?
select DB_NAME(), name from sys.sysusers
Piotr
May 8, 2008 at 3:04 pm
Did you run CREATE USER ... FOR LOGIN command and then GRANT CONNECT ?
Alternatively, you can add new user using GUI, it won't be shown by in list of users...
May 8, 2008 at 2:23 pm
Viewing 15 posts - 211 through 225 (of 388 total)