Viewing 15 posts - 46 through 60 (of 76 total)
How would I determine if the table has a clustered index or not? Is there a procedure for determining this?
July 7, 2005 at 11:03 am
Thanks Govinn. I am doing the same thing on two other files and they seem to be retaining their order when BCP'ed to the tables. The 'tables' are staging tables...
July 7, 2005 at 10:33 am
The .bat file that initiates the Bulk Copy is executed from a Task Scheduling program and is set to run every minute.
June 24, 2005 at 2:18 pm
Ooops! I forgot to mention in my last post that I am using three separate staging tables for each of the file types.
June 24, 2005 at 6:29 am
The data is moved from the staging tables using stored procedures such as:
CREATE procedure rt_edt_sp
as
SET ANSI_NULLS ON
SET NOCOUNT OFF
declare @trg_sub_code varchar(8)
declare @mid varchar(10)
declare @callsign varchar(6)
declare @src varchar(1)
declare @id varchar(4)
declare @cid...
June 24, 2005 at 6:28 am
Thanks govinn. I am using a staging table to store the data from the bulk copy, and then I use the following to insert the data into the production table:
CREATE...
June 22, 2005 at 6:32 am
Thanks David but that did not seem to work. The two tables that I am working with do not seem have the same identity values....I guess that was due to...
June 16, 2005 at 7:10 am
Farrell, I would like to return data that is in table B but not in table A. Is it possible to modify your query above to do this? If so,...
June 15, 2005 at 6:02 pm
Got the following error:
Server: Msg 7202, Level 11, State 2, Line 2
Could not find server 'icedata' in sysservers. Execute sp_addlinkedserver to add the server to sysservers.
June 15, 2005 at 1:43 pm
I also forgot to mention that the two databases are on separate database servers. Can this still be accomplished using the code above?
June 15, 2005 at 12:37 pm
Thanks Steve and Farrell. Farrell, can I use the following to get the records in development that are not in production:
SELECT DEV.IdentityField AS 'Dev IdentityField',
PROD.IdentityField AS 'Prod IdentityField',...
June 15, 2005 at 12:30 pm
Would I have to connect to both databases in the script, say:
Use dbo.databaseA
insert into table A (column1, column2, ...)
Use DatabaseB
select from (column1, column2, ...) from table B where ....
Or how would...
June 15, 2005 at 10:35 am
Yes, I did try moving that code but I wasn't getting the desired results. I had to call another stored procedure before opening the cursor that would parse through the...
May 30, 2005 at 2:43 pm
Thanks Chris and Site Owners. I will use the link provided to give suggestions and/or feedback. Once again, thanks for the help! I just want to help make the product...
May 30, 2005 at 2:35 pm
Viewing 15 posts - 46 through 60 (of 76 total)