0.2.0 • Published 9 years ago

grunt-sqlcmd v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

grunt-sqlcmd Build Status NPM version Dependencies

Execute sqlcmd from the command line.

Provides the task sqlcmd, which builds

grunt.initConfig({
  'sqlcmd': {
    options: {
      sqlcmd: '.\\path\\to\\sqlcmd.exe' // defaults to 'sqlcmd.exe'
    },
    'my-db': {
      src: [ 'path\\to\\files\\*.sql' ], // location of sql scripts to run
      options: {
        server: 'my.server',
        database: 'my_database',
        username: 'user',
        password: 'password'
      }
    }
  }
});

Usage:

grunt sqlcmd:my-db

Future plans:

Integrate with a pure nodejs version of sqlcmd (maybe)

0.2.0

9 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago