dbTalk Databases Forums  

Query not returning DB value...

comp.databases.ms-access comp.databases.ms-access


Discuss Query not returning DB value... in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
pzimmermann@gmail.com
 
Posts: n/a

Default Query not returning DB value... - 01-22-2008 , 12:50 PM






I'm not sure what I'm doing wrong here, but I am not able to get value
based on the following query:

select TYPE_ID from MY_TABLE where MY_TABLE.COLUMN_1 = 123456

This query works when I run it in my SQL developer tool displaying the
value I would expect to see. But when running this query from within
Perl it returns a '1' value.

Reply With Quote
  #2  
Old   
Dominic Vella
 
Posts: n/a

Default Re: Query not returning DB value... - 01-23-2008 , 01:15 AM






Perl?? Hmm, boy are you in the wrong place, However.....
you may want to try somthing like this

select TYPE_ID from MY_TABLE where COLUMN_1 = 123456

You never know, maybe 1 is the correct response.


Dominic

<pzimmermann (AT) gmail (DOT) com> wrote

Quote:
I'm not sure what I'm doing wrong here, but I am not able to get value
based on the following query:

select TYPE_ID from MY_TABLE where MY_TABLE.COLUMN_1 = 123456

This query works when I run it in my SQL developer tool displaying the
value I would expect to see. But when running this query from within
Perl it returns a '1' value.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.