Please comment the pros and cons of both methods.
Thanks in advance.
View Complete Post
I have this problem:
In a DTS package I can connect to a DB2 on an AS400 and execute a stored procedure. I can then import this data into a table.
I can't do this in SSIS. DTS uses an ODBC connection. I have tried this with SSIS 2008 r2 – I can use a ado.net connection which picks up the ODBC driver.
I pass in the stored proc as a sql command.
I click preview and all the data is there. I click columns and none are defined.
Has anybody gotten this to work? It seems like a step back to me- DTS did
I would like to identifying the source & destination tables of the data flow or the transformation task.
I need to create a custom component which i can put into existing packages which can do some validation.
Please suggest ways i can accomplish this.
Here is my SP:
create or replacePROCEDURE ZGETUSERSSIGNONS (vUid IN VARCHAR2, p_getuserssignon_recordset1 OUT SYS_REFCURSOR) ASBEGIN Open p_getuserssignon_recordset1 for SELECT Distinct(Userid), UserPassword, SecurityLevel, ActiveStatusFROM ZSIGNON WHERE substr(UserId,1,2) <> vUidOrder By UserId;END ZGETUSERSSIGNONS;
I would like to run this SP from code and fill a gridview with the result.
I am not sure how to go about this, as I have found several different examples, other than the one I think I need.
I am using the oracle data provider and I have an input parameter (vUid, which will equal "zz").
First question. When filling a gridview with a result set from a stored procedure should the recordset OUT be defined as a REFCURSOR (like i did above)?
Do you have example code as to how to execute the SP and fill a gridview? I keep trying different variations of code i've found on the internet without any success other than getting more confused.
(I am using VS 2005, VB).
I'm using Dynamic Data and have created a custom List.aspx page. I simply want to populate the grid with a stored procedure. I've seen some posts about doing this with a LinqDataSource but not an EntityDataSource. Does someone have an example or a different way of doing this? Thanks.