Popular Articles | Latest Articles | Categories | RSS Feeds

Login  |  Register

SQL Script for Stored Procuder Samples

Published on 11/4/2006 by Dotnetindex
 Vote this tutorial:

More articles in ASP

 

This sql script creates a sample table to use for some code snipts. First create a database and run this code in Query Analyzer.

 

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[articles]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

drop table [dbo].[articles]

GO

CREATE TABLE [dbo].[articles] (

[articleID] [int] IDENTITY (1, 1) NOT NULL ,

[headline] [nchar] (255) NULL ,

[publishDate] [datetime] NULL ,

[article] [nvarchar] (4000) NULL ,

[hit] [int] NULL

) ON [PRIMARY]

GO

Comments:
no comments submitted


Only members can write comments.Please, login / register to write comment.

Latest Posts

Active News Manager - news management system



ASP.NET Resources, Reviews

ASP Resources, Reviews

PHP, ASP, .NET, JSP Resources, Reviews




Who's online

  • There 109 online users.

ASP.NET Resources, Reviews

ASP Resources, Reviews

PHP, ASP, .NET, JSP Resources, Reviews

Hotscripts.com Free Photoshop, Flash and 3DS MAX tutorials