PHP MSSQL Determining Types

Posted on 2007-10-04
Last Modified: 2008-02-26
Is there an easy way to get the types of MSSQL fields? (IE int, bool, text, varchar) ...So I can determine how to insert update and ... data into a database?
Question by:bergstrom_davin
    LVL 16

    Accepted Solution

    LVL 1

    Author Comment

    Thanks you for the quick reply, but I am not sure if my question was clear.

    I need to retrieve the datatype of a field using php.

    I started researching OpenSchema, but am not sure how to implement this. I was looking for a php built in function or a simple class.
    LVL 1

    Author Comment


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now