Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. OleDb different DataBases

OleDb different DataBases

Scheduled Pinned Locked Moved Database
csharpdatabasevisual-studiosysadminquestion
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hamidreza_buddy
    wrote on last edited by
    #1

    Hi as you know with OleDB we can open many kind of DataBases. i want to know is there any difference between SQL statements we send to darabases or all of them support support a single tyoe of SQL statements. I wanted to Get Information of tables of Databases(something like "Server Explorer" of VS.NET which opens every Type of Databases and shows their "Tables" and "Queries" and "procedures" and "Functions". abd also Field Types) can i do it with SQL statement? and if yes are they different for different databases?

    P F 2 Replies Last reply
    0
    • H hamidreza_buddy

      Hi as you know with OleDB we can open many kind of DataBases. i want to know is there any difference between SQL statements we send to darabases or all of them support support a single tyoe of SQL statements. I wanted to Get Information of tables of Databases(something like "Server Explorer" of VS.NET which opens every Type of Databases and shows their "Tables" and "Queries" and "procedures" and "Functions". abd also Field Types) can i do it with SQL statement? and if yes are they different for different databases?

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      hamidreza_buddy wrote:

      is there any difference between SQL statements we send to darabases or all of them support support a single tyoe of SQL statements

      Yes and no. Most Structure Query Language statements are the same, but each database (MS SQL, MySQL, Oracle, Firebird, etc) have their own minor differences.

      1 Reply Last reply
      0
      • H hamidreza_buddy

        Hi as you know with OleDB we can open many kind of DataBases. i want to know is there any difference between SQL statements we send to darabases or all of them support support a single tyoe of SQL statements. I wanted to Get Information of tables of Databases(something like "Server Explorer" of VS.NET which opens every Type of Databases and shows their "Tables" and "Queries" and "procedures" and "Functions". abd also Field Types) can i do it with SQL statement? and if yes are they different for different databases?

        F Offline
        F Offline
        Frank Kerrigan
        wrote on last edited by
        #3

        Most support a industial standard called Sql-92 which will in theory work with any compliant SQL-92 database. But sadly in pratice it doesn't work like that and small quirks make problems porting sql code.


        Look where you want to go not where you don't want to crash. Bikers Bible

        C 1 Reply Last reply
        0
        • F Frank Kerrigan

          Most support a industial standard called Sql-92 which will in theory work with any compliant SQL-92 database. But sadly in pratice it doesn't work like that and small quirks make problems porting sql code.


          Look where you want to go not where you don't want to crash. Bikers Bible

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #4

          Frank Kerrigan wrote:

          Most support a industial standard called Sql-92

          And some, like SQL Server 2005, now support SQL-99


          Scottish Developers events: * .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

          F 1 Reply Last reply
          0
          • C Colin Angus Mackay

            Frank Kerrigan wrote:

            Most support a industial standard called Sql-92

            And some, like SQL Server 2005, now support SQL-99


            Scottish Developers events: * .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

            F Offline
            F Offline
            Frank Kerrigan
            wrote on last edited by
            #5

            I stand corrected :laugh:


            Look where you want to go not where you don't want to crash. Bikers Bible

            C 1 Reply Last reply
            0
            • F Frank Kerrigan

              I stand corrected :laugh:


              Look where you want to go not where you don't want to crash. Bikers Bible

              C Offline
              C Offline
              Colin Angus Mackay
              wrote on last edited by
              #6

              You were correct in the fist place. You said "most" use SQL-92. I just thought I'd add that "some" now use SQL-99. If I remember correctly, SQL-92 is a subset of SQL-99, so it could be said that everything that is based on SQL-99 is, by default, also based on SQL-92.


              Scottish Developers events: * .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

              F 1 Reply Last reply
              0
              • C Colin Angus Mackay

                You were correct in the fist place. You said "most" use SQL-92. I just thought I'd add that "some" now use SQL-99. If I remember correctly, SQL-92 is a subset of SQL-99, so it could be said that everything that is based on SQL-99 is, by default, also based on SQL-92.


                Scottish Developers events: * .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

                F Offline
                F Offline
                Frank Kerrigan
                wrote on last edited by
                #7

                I think SQL-92 relates to 1992 and SQL-99 relates to 1999. But I'm guessing


                Look where you want to go not where you don't want to crash. Bikers Bible

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups