Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Inserting to a bigint data type in Sybase using prepare statements

by j_ochoa (Novice)
on Jul 07, 2017 at 13:15 UTC ( [id://1194494]=note: print w/replies, xml ) Need Help??


in reply to Re: Inserting to a bigint data type in Sybase using prepare statements
in thread Inserting to a bigint data type in Sybase using prepare statements

Hello thanos,

Thank you for taking a look into this.

Sorry for not posting the db table but as you can imagine it is a bit sensitive info.

However, I have double checked and the database column is set up as BIGINT and allow nulls. I also don't see any other constraints

To me it looks like Perl DBI is sending a VARCHAR to Sybase engine even though I am using SQL_BIGINT in the bind_param method

BR JO
  • Comment on Re^2: Inserting to a bigint data type in Sybase using prepare statements

Replies are listed 'Best First'.
Re^3: Inserting to a bigint data type in Sybase using prepare statements
by chexmix (Hermit) on Nov 26, 2018 at 20:29 UTC
    I know this is an old thread but ... I am running into this same problem right now.

    G

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1194494]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-26 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found