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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. cannot excute script

cannot excute script

Scheduled Pinned Locked Moved Database
helpapachedatabasesql-serversysadmin
5 Posts 3 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.
  • J Offline
    J Offline
    Jet
    wrote on last edited by
    #1

    i exported data in a table from an apache derby dbase to a sql script so i could run on MS SQL(Studio Express) to get the data in my table but then there is this script for this table anytime i try running the script i get the following error msg. before this the script would not even open the Studio when i try opening it and an err msg of "out of memmory would pop up" please help me as to how i can solve this errror. . TITLE: Microsoft SQL Server Management Studio Express ------------------------------ Cannot execute script. ------------------------------ ADDITIONAL INFORMATION: Exception of type 'System.OutOfMemoryException' was thrown. (mscorlib) ------------------------------

    L 1 Reply Last reply
    0
    • J Jet

      i exported data in a table from an apache derby dbase to a sql script so i could run on MS SQL(Studio Express) to get the data in my table but then there is this script for this table anytime i try running the script i get the following error msg. before this the script would not even open the Studio when i try opening it and an err msg of "out of memmory would pop up" please help me as to how i can solve this errror. . TITLE: Microsoft SQL Server Management Studio Express ------------------------------ Cannot execute script. ------------------------------ ADDITIONAL INFORMATION: Exception of type 'System.OutOfMemoryException' was thrown. (mscorlib) ------------------------------

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      How big is that script? Have you considered loading and executing it piece by piece? You can execute scripts from the commandline, without open the Management Studio. That's described here; http://msdn.microsoft.com/en-us/library/ms165702.aspx

      I are Troll :suss:

      J M 2 Replies Last reply
      0
      • L Lost User

        How big is that script? Have you considered loading and executing it piece by piece? You can execute scripts from the commandline, without open the Management Studio. That's described here; http://msdn.microsoft.com/en-us/library/ms165702.aspx

        I are Troll :suss:

        J Offline
        J Offline
        Jet
        wrote on last edited by
        #3

        thanks for attending to my question. the size is 65.2MB.. i am going to loading in pieces.. and post my response back...

        1 Reply Last reply
        0
        • L Lost User

          How big is that script? Have you considered loading and executing it piece by piece? You can execute scripts from the commandline, without open the Management Studio. That's described here; http://msdn.microsoft.com/en-us/library/ms165702.aspx

          I are Troll :suss:

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          I envisaged a low powered machine or something. I never imagined a 65mb script X| what a monster. I don't think I have ever seen such a beast.

          Never underestimate the power of human stupidity RAH

          J 1 Reply Last reply
          0
          • M Mycroft Holmes

            I envisaged a low powered machine or something. I never imagined a 65mb script X| what a monster. I don't think I have ever seen such a beast.

            Never underestimate the power of human stupidity RAH

            J Offline
            J Offline
            Jet
            wrote on last edited by
            #5

            it can't be low powered machine(4GB RAM, 2.8GHz Duo Core) i finally exported it to csv and ported it excel. i had all data in there so just wrote some sql statemet to import the data..into my tables. the whole dbase is in apache derby and i need all of them in a platform i am comfortable with. thanks

            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