|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Get MSSQL field flags with PHP
Hello,
I'm currently developing a new database abstraction script. But there are some problems with MSSQL and field flags. How is it possible to get all the information about a field flag (like in MYSQL, e.g. "not_null primary_key auto_increment...")? And my second question: Is it possible to list all the user defined databases? Thank you for your answers! |
|
#2
|
|||
|
|||
|
You can query the sys.all_all_tables to learn what tables exist in what database. You can also query the syscolumns to learn the DDL of the tables.
|
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Get MSSQL field flags with PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|