Skip to content

Commit

Permalink
#69 - dbmigration adding delimiter $$ for Microsoft SQL Server proced…
Browse files Browse the repository at this point in the history
…ures script - change to use GO
  • Loading branch information
rbygrave committed Jul 24, 2019
1 parent 2af8ea4 commit afe032e
Showing 1 changed file with 7 additions and 28 deletions.
35 changes: 7 additions & 28 deletions src/test/resources/dbmig_sqlserver/I__create_procs.sql
Original file line number Diff line number Diff line change
@@ -1,44 +1,23 @@
if not exists (select name from sys.types where name = 'ebean_bigint_tvp')
create type ebean_bigint_tvp as table
(
c1 bigint
)
create type ebean_bigint_tvp as table (c1 bigint)
GO
if not exists (select name from sys.types where name = 'ebean_float_tvp')
create type ebean_float_tvp as table
(
c1 float
)
create type ebean_float_tvp as table (c1 float)
GO
if not exists (select name from sys.types where name = 'ebean_bit_tvp')
create type ebean_bit_tvp as table
(
c1 bit
)
create type ebean_bit_tvp as table (c1 bit)
GO
if not exists (select name from sys.types where name = 'ebean_date_tvp')
create type ebean_date_tvp as table
(
c1 date
)
create type ebean_date_tvp as table (c1 date)
GO
if not exists (select name from sys.types where name = 'ebean_time_tvp')
create type ebean_time_tvp as table
(
c1 time
)
create type ebean_time_tvp as table (c1 time)
GO
if not exists (select name from sys.types where name = 'ebean_uniqueidentifier_tvp')
create type ebean_uniqueidentifier_tvp as table
(
c1 uniqueidentifier
)
create type ebean_uniqueidentifier_tvp as table (c1 uniqueidentifier)
GO
if not exists (select name from sys.types where name = 'ebean_nvarchar_tvp')
create type ebean_nvarchar_tvp as table
(
c1 nvarchar(max)
)
create type ebean_nvarchar_tvp as table (c1 nvarchar(max))
GO

--
Expand Down

0 comments on commit afe032e

Please sign in to comment.