Hello,
I'm trying to create a database and table in oracle that is identical to one i have in sql srvr2000. I am not familiar at all with oracle. Can someone pls tell me how to convert this into oracle sql?
CREATE DATABASE mydb
ON PRIMARY
(
NAME = mydb,
FILENAME = 'c:\program files\microsoft sql server\mssql\data\mydb.mdf',
SIZE = 10MB,
FILEGROWTH = 25%
)
GO
BEGIN TRANSACTION
use mydb
GO
/* define the table */
CREATE TABLE dbo.mytable
(
a nvarchar(256) NULL,
mydate datetime NULL,
f numeric(18, 0) NULL,
) ON [PRIMARY]
commit
thanks in advance..
I'm trying to create a database and table in oracle that is identical to one i have in sql srvr2000. I am not familiar at all with oracle. Can someone pls tell me how to convert this into oracle sql?
CREATE DATABASE mydb
ON PRIMARY
(
NAME = mydb,
FILENAME = 'c:\program files\microsoft sql server\mssql\data\mydb.mdf',
SIZE = 10MB,
FILEGROWTH = 25%
)
GO
BEGIN TRANSACTION
use mydb
GO
/* define the table */
CREATE TABLE dbo.mytable
(
a nvarchar(256) NULL,
mydate datetime NULL,
f numeric(18, 0) NULL,
) ON [PRIMARY]
commit
thanks in advance..