Parameterized queries against Oracle...Again!
So here is round 2...
You can also do a parameterized query against Oracle Execute SQL Task. Here is the scoop:
- Make sure you are using the Microsoft Driver for OLE DB....you should be using this all the time except for one place...we'll talk about that later.
- Create your query, and use ?'s for where your parameters go.
- Map the parameters on the Parameters option tab. Make sure that you get the datatypes correct and that Oracle will often expect DB_Decimal for most numbers.
Scott
0 Comments:
Post a Comment
<< Home