Hooper, Brian wrote:

These queries all seem like an awful lot of unnecessary processing. Here's what I use:

SELECT 1+1



Indeed. If your server supports it, there is an even simpler one: "select 1" or "select 0".

But this is not correct SQL for an Oracle server. Equivalent Oracle syntax is "select 1 from dual".

But on other servers, "dual" does not exist by default. Well... you see what I mean...

Antonio

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to