-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17/02/16 03:38, Luca Ferrari wrote:
> The above syntax> does not look familiar to me,

It is made up to be concise and get the point across.

> and in the meantime I've wrapped the user_version pragma get/set
> into a shell script.

You can't do if statements in SQL (beyond CASE), so a pure SQL
solution isn't reasonable.

While you can (heroically) do everything in shell script, I'd
recommend you use a higher level language for easier testing, clearer
semantics etc.  For example any of TCL, Python, Perl, Ruby, PHP will
meet your needs.

Roger

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlbEuLcACgkQmOOfHg372QTd1gCgh0B5UO/Rb6zEnK3US0+V4oWz
GYIAoJX31S2pg73eTtTsKiBT9whwofF/
=Ximu
-----END PGP SIGNATURE-----

Reply via email to