Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2003
    Location
    Angola
    Posts
    12

    Unanswered: string into a byteA column using PostGreSQL / C#

    Hi There,

    Does anybody know how i can do a sql statement of a strign value and insert itt into a ByteA column in PostGreSQL?

    Example:
    Insert Into ColA (colByteA) Values ('ABCDEF')

    Using C# that is

    using the latest NPSql .dll and it's not liking it if i place the parameter as a string...

    Regards,
    X

  2. #2
    Join Date
    Nov 2003
    Posts
    2,935
    Provided Answers: 12
    Check out the convert_to() function, that seems to do what you want:

    http://www.postgresql.org/docs/8.3/static/functions-string.html

Posting Permissions

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