View Single Post
Old 10-23-2003   #2
HoneyBlond
Mostly Harmless
 
HoneyBlond's Avatar
 
Join Date: Nov 2002
Location: Australia
Posts: 309
Default

Quote:
Originally posted by sarettah@Oct 24 2003, 12:49 AM
What is the logical output from this code snippet....... (language is VFP but should be fairly discernible to anyone who has read code before.....)

procedure brandon
parameter username, password
clear
if empty(username)
username='opranaut'
endif
if empty(password)
password='intelligent'
endif

sqlport=sqlconnect('brandon',usernam,password)

sql_str='select * from brandon_master order by value'
&sql_str

*********************************************

clue:

brandon_master looks like this:

Property value
-------------------
age ???
shoesize ???
iq ???
ERROR: UNKNOWN IQ EXCEPTION(80000602).
HoneyBlond is offline   Reply With Quote