Posted by Arto V Viitanen on 10/20/07 15:52
Mukesh_Singh_Nick@yahoo.com kirjoitti:
> I've come accross queries like this one previously but never got the
> time to carefully study them form some book.
>
> SELECT 1 WHERE 1 = 1
>
>
I think I have seen similarly queries on some general graphical query
tool. It uses the statement to check that
1) the database driver you named is working
2) the database name you gave is working
3) the username you gave is working
--
Arto Viitanen
Navigation:
[Reply to this message]
|