Viewing 15 posts - 1,951 through 1,965 (of 2,612 total)
The error message is pretty clear - you have a portion of your test file being put into a fields being called "su_supplier_code" and the data you are importing from...
April 9, 2008 at 6:19 am
XACT_ABORT ON specifies that if an error is encountered any open transaction will be rolled back.
You still need to have an open transaction.
Depending on connection settings you may have a...
April 8, 2008 at 1:54 pm
There is an article right in the daily newsletter for today that is close to what you are referring to:
http://www.sommarskog.se/share_data.html#XML
This outlines some techniques for transferring table data between stored procedures.
April 8, 2008 at 11:09 am
If you need the list of VendorItems being inserted, you could use an OUTPUT clause on the insert statement, but I don't think you need to get that complex.
You can...
April 8, 2008 at 11:04 am
Avoid the dynamic SQL and use an appropriate parsing function if you have to do this.
A better approach is not to pass delimited lists around. If you are designing...
April 8, 2008 at 11:01 am
Yes
BEGIN TRAN
BEGIN TRY
---- SQL Statements ---
COMMIT TRAN
END TRY
BEGIN CATCH
IF XACT_STATE() <> 0
BEGIN
...
April 8, 2008 at 10:57 am
I assume you used an OLEDB Destination for the insert. You could use an OLEDB Command for the update.
1 million rows for this type of operation may be a...
April 8, 2008 at 10:55 am
Assuming you have built a database schema with referential integrity, you would have to populate dimension records before fact records or you would violate foreign key constraints.
In most data warehouse...
April 8, 2008 at 8:48 am
Yup - more confused.
The point of a lookup is to get a field from another data source by a matching field, so I do not understand what you are saying.
Also,...
April 8, 2008 at 7:47 am
Remove the @ symbol
State In('CA', 'UT', 'AZ', 'WY')
"State" is referring to your field name.
April 8, 2008 at 6:50 am
Either I am not following, or there are two really obvious answers.
The first is to include the invoice number in your data set for the good and bad records and...
April 8, 2008 at 6:47 am
You could use a UDF.
Then you can modify the function if you need to make a change.
April 8, 2008 at 6:28 am
By the looks of the application and user name from sp_who2, you are the problem.
You have management studio open with an open transaction locking the table you are trying to...
April 7, 2008 at 2:13 pm
I would suspect a blocking process.
Try "select * from obs_result (NOLOCK)"
If this works, you have another process with a lock on at least one row in the table. You...
April 7, 2008 at 12:50 pm
Viewing 15 posts - 1,951 through 1,965 (of 2,612 total)