help @sql

6 May 2006 02:16 pm
adric: books icon (c) 2004 adric.net (Default)
@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

Profile

adric: books icon (c) 2004 adric.net (Default)
adric

November 2025

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526 2728 29
30      

Links

Syndicate

RSS Atom

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated 31 January 2026 03:29 am
Powered by Dreamwidth Studios