whats wrong in this code
any time i run from ms sql it throws an error
Code:
Could not locate entry in sysdatabases for database 'Trail1'. No entry found with that name. Make sure that the name is entered correctly.
Code:
create database Trail1;
use Trail1;
create table BasicCompanyInfo(
varchar(50) null Company_Name,
varchar(50) null Address,
varchar(50) null Branch,
varchar(50) null Contact_No,
varchar(50) null Website,
int null Counter
);
i m writing a script to create a database structure when executed
but this starting code throws some exception
why so ?