facebook

DB Explorer

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #277358 Reply

    fermataintl
    Member

    This message has not been recovered.

    #277389 Reply

    Brian Fernandes
    Moderator

    This message has not been recovered.

    #277394 Reply

    fermataintl
    Member

    This message has not been recovered.

    #277396 Reply

    Brian Fernandes
    Moderator

    This message has not been recovered.

    #277421 Reply

    fermataintl
    Member

    This message has not been recovered.

    #277437 Reply

    Brian Fernandes
    Moderator

    Dean,

    tried out the two lines you posted and it received “1” in the SQL results view when I ran the script.

    Do you see VarBinary as the first row of your result in the results view or elsewhere?

    Brian.

    #277443 Reply

    fermataintl
    Member

    Brian,

    When I execute the SQL, in the SQL Results/Result 1 tab I see “@ggg” as the heading for the column and “<VarBinary>” as the value underneath it.

    Thanks (man, you guys are good!)
    Dean

    #277447 Reply

    Brian Fernandes
    Moderator

    Dean,

    Thanks!

    What I see is @ggg as the column heading and “1” as the value underneath. What version of MySQL 5 (exactly) are you using and are you using the latest driver too? If not can you try using the latest driver?

    I have a feeling this may be related to some installation specific defaults. If you are executing this block of code within a procedure for example, maybe you could use a DECLARE statement to explicitly set @ggg to type INT / INTEGER. AFAIK, DECLARE cannot be used in a snippet like yours.

    Brian.

    #277451 Reply

    fermataintl
    Member

    Brian,

    The driver was the issue. Thanks for your patience and rapid response!

    Dean

    #277457 Reply

    Brian Fernandes
    Moderator

    Dean,

    Great – glad it was as simple as changing the driver.

    #278122 Reply

    Jim Willeke
    Member

    This message has not been recovered.

    #278123 Reply

    Brian Fernandes
    Moderator

    This message has not been recovered.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: DB Explorer

You must be logged in to post in the forum log in