Print Page | Close Window

How To Create Table In SQL DB

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Database Discussion
Forum Description: Discussion and chat on database related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=11048
Printed Date: 30 March 2026 at 7:27am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: How To Create Table In SQL DB
Posted By: padoxky
Subject: How To Create Table In SQL DB
Date Posted: 30 June 2004 at 3:23pm

I want to know how to create tables in SQL DataBase using Asp page.

Plz, help.

 



-------------
NgWebDesigns



Replies:
Posted By: Mart
Date Posted: 30 June 2004 at 3:35pm

What do you need help with?

If it is your SQL Statement take a look at http://www.w3schools.com/sql/sql_create.asp - http://www.w3schools.com/sql/sql_create.asp



Posted By: padoxky
Date Posted: 01 July 2004 at 5:04am

Thank you.

When you want to create tables in your DATABASE must the database be empty first before creating it from your ASP page.



-------------
NgWebDesigns


Posted By: dpyers
Date Posted: 01 July 2004 at 9:00am
For MS SQL Server, you need to allocate an empty data base first and then you can create tables, populate data, etc. The method of creating the initial empty db varies by web host.

-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: padoxky
Date Posted: 01 July 2004 at 9:56am

Thank you.

Am using MS SQL SERVER. So I should create tables using Asp page with empty Db?



-------------
NgWebDesigns


Posted By: Semikolon
Date Posted: 01 July 2004 at 7:18pm
the database does not have to be empty

just use ADO to execute the CREATE TABLE SQL statement on the db



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net