SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2003
    Location
    New York
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    postgresql prepared statements

    Hi, the documentation is a tad lacking in examples, so it's left me wondering if I can use any data type and does it have to match exactly with the column's data type. Or do I use more general datatypes as in MySQL (string, integer, double, blob)?

    Me = confused .

    prepared statement example:
    prepare bar (integer) as select * from foo where a = $1;
    viveHosting.com
    Affordable Hosting, Reliable Service

  2. #2
    SitePoint Enthusiast
    Join Date
    Jul 2003
    Location
    New York
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anyone?
    viveHosting.com
    Affordable Hosting, Reliable Service


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •