Create a table in SQL

5 pts.
Tags:
SQL
How can I create a table in SQL?

Answer Wiki

Thanks. We'll let you know when a new response is added.
You can do this a few ways. Either using a command or using SQL server manager. What method do you plan on using ? The command would look something like this.
CREATE TABLE [dbo].[WebDetailControl](
	[WCTLDID] [int] IDENTITY(1,1) NOT NULL,
	[WebDetailWebTicket] [int] NOT NULL,
	[WebDetailLineItem] [int] NULL,
	[WebDetailLineItemId] [int] NULL,
	[WebDetailPartNumber] [nvarchar](128) NULL,
	[WebDetailReturnCode] [nvarchar](128) NULL,
	[WebDetailSource] [nvarchar](128) NOT NULL,
	[WebDetailOrderNumber] [int] NULL,
	[WebDetailReturnMessage] [nvarchar](128) NULL
) ON [PRIMARY]

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    Assuming you asked for SQL/query language. This is a simple question which you can get answers through your study books. You can read book like "SQL: The Ultimate Beginners Guide: Learn SQL Today", by Steve Tale. This book can help you to gather knowledge on SQL or database. You can also learn through online like: https://www.w3schools.com/sql/sql_create_table.asp

    But before creating table, you must have knowledge about data types.

    89,360 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: