tags:

views:

21

answers:

1

For example, say I have this SQL Script:

create table Person
(
    id int primary key,
    name nvarchar(40)
)

create table Country
(
    id int primary key,
    name nvarchar(40)
)

How can I have those commands in a single file and be able to run it?

+5  A: 

Add GO after each create table statement.

Fabian