Hi all,
I'm trying to use an SQL Transaction in my VB module. I need the transaction to build a database, for example:
BEGIN TRANSACTION
CREATE TABLE dbo.Table1
{
Field_Name char(10) NULL
}ON [PRIMARY]
GO
COMMIT
How do I run this from VB? I've tried using it like an SQL statement but it is not recognised. Anyone have any ideas?!
Rgds,
Carl
I'm trying to use an SQL Transaction in my VB module. I need the transaction to build a database, for example:
BEGIN TRANSACTION
CREATE TABLE dbo.Table1
{
Field_Name char(10) NULL
}ON [PRIMARY]
GO
COMMIT
How do I run this from VB? I've tried using it like an SQL statement but it is not recognised. Anyone have any ideas?!
Rgds,
Carl