PRODUCTS
Mathematica
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Certified Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Wolfram Blog
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
DatabaseLink
チュートリアル
SQLDropTable
関数
表の削除
SQLDropTable
はデータベースから表を削除します.これは,
生SQLを使った表の削除
に記載のように,SQLコマンドをそのまま使ってもできます.
このチュートリアルの例を実際に試してみて,記載の通りに動作しなかった場合は,
データベースの例の使用
で述べているように
DatabaseExamples`
パッケージを使ってデータベースをもとの状態に戻す必要があるかもしれません.
SQLDropTable
の結果はクエリの影響を受ける行数を示す整数となります.
SQLDropTable
[
table
]
データベースから表を削除する
データベースからの表の削除
以下に表の削除の例を示します.
DatabaseLink
をロードし,
demo
データベースに接続します.
In[1]:=
新しい表
TEST
を作成し,データを挿入します.
In[3]:=
表を削除します.
In[5]:=
Out[5]=
SQLTableNames
を使ってデータベースから表が削除されたことを確認します.
In[6]:=
Out[6]=
SQLDropTable
にはオプションが1つ使えます.
オプション名
デフォルト値
"Timeout"
Automatic
クエリのタイムアウトを設定する
SQLDropTable
のオプション
オプション"
Timeout
"を使うと,実行に時間がかかりすぎるクエリをキャンセルすることができます.
接続を閉じます.
In[7]:=
© 2008 Wolfram Research, Inc.