1 Reply Latest reply on Nov 4, 2013 8:13 AM by philmodjunk

    New function: ExecuteSQL

    bremor

      Title

      New function: ExecuteSQL

      Post

           Hello to all, 

           first all: my english is very bad

            

           I want try to use ExecuteSQL for search a record in a table and if exist retur 1 or 0 if not exist.

            

           For example:

           SetVariable $$try : ExecuteSQL(SELECT * FROM TABLE WHERE _ID = _ID ; " " ; " ";)  but it doesn't work ( RETURN (?) )

            

           is it possible to return 1 if exist or 0 if not exist ?

            

           Thanks in advance!