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. General Programming
  3. Visual Basic
  4. SQL Configuration

SQL Configuration

Scheduled Pinned Locked Moved Visual Basic
csharpdatabasesql-serversysadmin
5 Posts 2 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.
  • D Offline
    D Offline
    DinoRondelly
    wrote on last edited by
    #1

    Is there a way to determine the SQL Server configuration from vb.net? I would like to be able to determine what the memory allocation is weather its an express or full version and what version it is. Any information on this would be great,

    D 1 Reply Last reply
    0
    • D DinoRondelly

      Is there a way to determine the SQL Server configuration from vb.net? I would like to be able to determine what the memory allocation is weather its an express or full version and what version it is. Any information on this would be great,

      D Offline
      D Offline
      David Mujica
      wrote on last edited by
      #2

      Check this out ... For SQL configuuration data. http://msdn.microsoft.com/en-us/library/ms188754.aspx[^] I belive you want to get the database version to indicate whether it is an express or full version of SQL. Good luck. :thumbsup:

      D 1 Reply Last reply
      0
      • D David Mujica

        Check this out ... For SQL configuuration data. http://msdn.microsoft.com/en-us/library/ms188754.aspx[^] I belive you want to get the database version to indicate whether it is an express or full version of SQL. Good luck. :thumbsup:

        D Offline
        D Offline
        DinoRondelly
        wrote on last edited by
        #3

        Thanks for the reply, I will need to read about that stuff before i can attempt it but its a good starting point thank you

        D 1 Reply Last reply
        0
        • D DinoRondelly

          Thanks for the reply, I will need to read about that stuff before i can attempt it but its a good starting point thank you

          D Offline
          D Offline
          David Mujica
          wrote on last edited by
          #4

          Log in as 'sa' and execute this command:

          SELECT
          (Physical_memory_in_bytes/1024.0)/1024.0 AS Physical_memory_in_Mb
          FROM
          sys.dm_os_sys_info

          No special privileges for this command:

          SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')

          Please remember to vote if you find this helpful.

          D 1 Reply Last reply
          0
          • D David Mujica

            Log in as 'sa' and execute this command:

            SELECT
            (Physical_memory_in_bytes/1024.0)/1024.0 AS Physical_memory_in_Mb
            FROM
            sys.dm_os_sys_info

            No special privileges for this command:

            SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')

            Please remember to vote if you find this helpful.

            D Offline
            D Offline
            DinoRondelly
            wrote on last edited by
            #5

            Thanks for your help, this has pointed me in the right direction once I develop the complete solution i will post.

            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