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
チュートリアル
SQLDataTypeInformation
SQLDataTypeNames
関数
データ型
このチュートリアルではデータ型についての情報の取り出し方について述べます.表を作ったら,そのデータ型を参照する必要があります.
このチュートリアルの例を実際に試してみて,記載の通りに動作しなかった場合は,
データベースの例の使用
で述べているように
DatabaseExamples`
パッケージを使ってデータベースをもとの状態に戻す必要があるかもしれません.
SQLDataTypeNames
[
conn
]
データソース内のすべてのデータ型名をリストする
SQLDataTypeInformation
[
conn
]
データソース内のすべてのデータ型情報をリストする
データ型についての情報を取り出す関数
DatabaseLink
をロードし,
demo
データベースに接続します.
In[1]:=
SQLDataTypeNames
は,データベース内のデータ型名のリストを返します.
In[3]:=
Out[3]=
SQLDataTypeInformation
はデータ型についてのより詳しい情報を返します.
In[4]:=
Out[4]//TableForm=
SQLDataTypeInformation
には"
ShowColumnHeadings
"というオプションが1つ適用できます.これを指定すると,列見出しが返されます.
In[5]:=
Out[5]//TableForm=
接続を閉じます.
In[6]:=
データ型を扱う際のより詳しい情報は
データ型マッピング
で述べます.
© 2008 Wolfram Research, Inc.