Get MSSQL field flags with PHP

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

sandoba
New php-forum User
New php-forum User
Posts: 3
Joined: Sat Jul 19, 2003 12:35 pm

Get MSSQL field flags with PHP

Postby sandoba » Sat Jul 19, 2003 12:40 pm

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!


sandoba
New php-forum User
New php-forum User
Posts: 3
Joined: Sat Jul 19, 2003 12:35 pm

Postby sandoba » Sun Jul 20, 2003 12:18 am

Sorry but I need that for MSSQL and not MySQL. My db layer for mysql is already complete since several months.

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Sun Jul 20, 2003 1:51 am


sandoba
New php-forum User
New php-forum User
Posts: 3
Joined: Sat Jul 19, 2003 12:35 pm

Postby sandoba » Sun Jul 20, 2003 2:46 am

No, I don't use odbc, but direct connection via the mssql extension. But isn't there something like a "mssql_field_flags" function?


Return to “PHP coding => General”

Who is online

Users browsing this forum: Bing [Bot] and 11 guests