Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database servers scripting
Message
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00810825
Message ID:
00810873
Views:
14
>No, I don't think this is a good example. If you try to illustrate an explanation, just take a few lines of this script. It would be enough for the purpose. Anyway, I would concentrate more on explaining client and server side scripting in a Web environment, as I think they are interested in that, and I consider the database server script is somehow additional.
>
>Anyway, I'm sure you'll do it well.
>
>Be confident!

Yes, I agree. Found much shorter one:
/****** Object:  Table [dbo].[CartContent]    Script Date: 2/28/2003 9:33:16 AM ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CartContent]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[CartContent]
GO

/****** Object:  Table [dbo].[CartContent]    Script Date: 2/28/2003 9:33:21 AM ******/
CREATE TABLE [dbo].[CartContent] (
	[CartContentID] [int] IDENTITY (1, 1) NOT NULL ,
	[CartID] [int] NOT NULL ,
	[NumOfRecords] [int] NULL ,
	[CreditCategory] [char] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
	[LastModiDate] [timestamp] NULL ,
	[Description] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
	[SelectionCriteria] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NULL 
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
I also gave some samples for client-side and server-side scripting...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform