in reply to Datatypes. A Perl T-SQL comparison

Hi,

You have a valid question but I think you're asking the question badly. I *think* you're trying to determine if you need to bind the parameters and specify the data types... if you're using DBD::Sybase, the answer would be no. Just bind the values normally.

DBD::Sybase uses the underlying Sybase API calls to handle ?-style placeholders. For select/insert/update/delete statements DBD::Sybase calls the ct_dynamic() family of Client Library functions, which gives DBD::Sybase data type information for each parameter to the query.

I mention DBD::Sybase, because Transact SQL is used in Sybase and Microsoft databases.

Jason L. Froebe

Team Sybase member

No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1