Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Bharat Shah — — source: Informix-list mailing list archive (1991-1998)
}
} Wingz/SQL Problem!...
}
}
} This works:
}
} CALL DB:DBSend("select counter from table10 where (time >= 10);")
}
}
} But this doesn't:
}
} ftime = 10
}
} CALL DB:DBSend("select counter from table10 where (time >= ftime);")
}
}
} Any Ideas?
}
} Jas.
Try creating the entire string before the DBSend call using "&" operator.
i.e.
ftime = 10
sqlstring = "select counter from table10 where (time >=" &ftime &");"
CALL DB:DBSend(sqlstring)
Bharat
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.