sina_08
سه شنبه 28 اردیبهشت 1389, 11:47 صبح
سلام دوستان
کسی میتونه این کوئری رو که ماله SQL Server هست به MySQL تبدیل کنه؟
create table orders(
oid int identity(1000,1) primary key not null,
isbn int references books(isbn) not null,
qty int not null,
price numeric(10,2) not null,
odate datetime default getdate(),
cname varchar(30) not null
)مشکلم توی (identity(1000,1 و (numeric(10,2 هست، نمیدونم چجوری باید از auto_increment استفاده کنم.
ممنون :لبخندساده:
کسی میتونه این کوئری رو که ماله SQL Server هست به MySQL تبدیل کنه؟
create table orders(
oid int identity(1000,1) primary key not null,
isbn int references books(isbn) not null,
qty int not null,
price numeric(10,2) not null,
odate datetime default getdate(),
cname varchar(30) not null
)مشکلم توی (identity(1000,1 و (numeric(10,2 هست، نمیدونم چجوری باید از auto_increment استفاده کنم.
ممنون :لبخندساده: