GMgKe586q6suSQnyqZLlGCooeWM

Pages

Search

Saturday, September 25, 2010

Mysql Syntaxs

To declare and automatically assign a variable outside of a procedure use:
mysql> select 45 into @a;
mysql> select @a;

To give a title of a result use:
mysql> select 45 'nilai';
Share/Bookmark

No comments:

Post a Comment