tags:

views:

44

answers:

3

i am doing this:

CREATE TABLE person
     ( 
        num               INT              NOT NULL  , 
        firstname         VARCHAR(20)          NULL  , 
        lastname          VARCHAR(30)          NULL  
        );

sql server is just saying "debbuging" and it's not doing anything

is there a problem with the syntax or what?

+5  A: 

You clicked on the 'Debug' button (green triangle) instead of 'Execute' (red exclamation)? SSMS is waiting on you to step through the T-SQL lines.

Remus Rusanu
+1  A: 

Check if there are locks on the database that would prevent SQL Server from executing a create statement. Since you're creating a new table, check for a database-level locks.

Andomar
+1  A: 

i will suggest the obvious...try restarting sql server?