Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get the sqlDbtype ???

Status
Not open for further replies.

N3XuS

Programmer
Mar 1, 2002
339
0
0
BE
I'm writing a function to get the members out of an object and using them as parameter for a stored procedure. The problem being I don't know how to get the sqlDbType from the object... is there any way to do this ??

Many thx
 
way better even ... can I just get the types out of the storedProcedures ?
 
do you not have access to the server itself? or did you not create the SP?

you can write a select statment to select from the information_schema... but you need to know the table names.

If you have access to the SP you should be able to view it.

hmmmmmmm

 
If you are only expecting a few possible types, you could just cast it to each possible type inside of a few try catch blocks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top