adric: books icon (c) 2004 adric.net (Default)
adric ([personal profile] adric) wrote2006-05-06 02:16 pm
Entry tags:

help @sql

@SQL
@sql

This command issues and SQL query if the MUSH supports SQL and
can connect to an SQL server. You must be WIZARD or have the
Sql_Ok power to use @sql.

Generally, the sql() function is more useful for coding, as it
delimits its return values, but @sql is handy for INSERT-type
queries and quick checks. If you pass arbitrary data to @sql,
be sure you call sqlescape() on it (see the example in help sql()).

Example: @sql SHOW TABLES

See also: sql(), sqlescape()

pennmush 1.8.1p4, or the deb, of course

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org