Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Call Sql Script From An Other Sql Script

forums › forums › SQLyog › Using SQLyog › Call Sql Script From An Other Sql Script

  • This topic is empty.
Viewing 0 reply threads
  • Author
    Posts
    • #19347
      peterlaursen
      Participant

      You are right:

      http://dev.mysql.com/doc/mysql/en/batch-mode.html

      MySQL command line client implements some functionality/commands that are not SQL commands themselves. Maybe the “source” command should be implemented in SQLyog editor? I am not sure.

      If you are running MySQL 5 you can put the batch script in a stored procedure and CALL it(). That is the “standard” way to do it.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.