Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    create table for sql server in data migrator using stored proc
Go
New
Search
Notify
Tools
Reply
  
create table for sql server in data migrator using stored proc
 Login/Join
 
Member
posted
I am using data migrator and I want to use a store proc to create a table in sql server 2012.
I have created my adapter, I can connect to the sql, I can load data to the sql using flows and synonyms. But I cannot connect using store procedure in data migrator.
Can someone please advice how to do that or just write me a store procedure to create a table.

code should look like below

-*SQL SQLMSS SET SERVER servername
-*END

SQL SQLMSS
COMMIT WORK ;
END



SQL SQLMSS
CREATE TABLE Test_SP.dbo.test_07182013
( RepDate varchar(8) NULL,
CompCode varchar(3) NULL,
InventNumber char(15) NOT NULL
) ;
END

SQL SQLMSS
COMMIT WORK ;
END


WebFOCUS 8.1
Windows, Data migrator, ISM, DQC,All Outputs
 
Posts: 9 | Registered: March 20, 2012Reply With QuoteReport This Post
Guru
posted Hide Post
Assuming you want to use your first connection and Test_SP is a valid database name, all you need to do is this:
SQL SQLMSS
CREATE TABLE Test_SP.dbo.test_07182013 
  (RepDate varchar(8) NULL, CompCode varchar(3) NULL, InventNumber char(15) NOT NULL ) ;
END

There should be no response unless there is an error. If there is an error, let us know what it is.
 
Posts: 373 | Location: New York City | Registered: May 03, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    create table for sql server in data migrator using stored proc

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.