Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Scripts with the goal to enable easy usage of some SQLServer operations.

License

Notifications You must be signed in to change notification settings

mesmacosta/cloudsql-sqlserver-tooling

Repository files navigation

cloudsql-sqlserver-tooling

Scripts with the goal to enable easy usage of some SQLServer operations.

INIT database

./init-db.sh

Creating Schemas and Tables in SQLServer

./connect-db.sh

Provide your password when prompted, then execute:

use "test-db";
CREATE SCHEMA MY_SCHEMA;
CREATE TABLE MY_SCHEMA.MY_TABLE (name INT, address TEXT);
exit

If you receive errors please run:

sudo pip install mssql-cli --ignore-installed six

To update the sql server driver used by gcloud.

Clean up SQLServer Schemas and Tables

./cleanup-db.sh

Delete the SQLServer database

./delete-db.sh

About

Scripts with the goal to enable easy usage of some SQLServer operations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /