nil.enroll(aetheric_username, quantum_class_id) (adric) wrote,
nil.enroll(aetheric_username, quantum_class_id)

help @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
Tags: mush

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment