Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Enterprise
Expertise: Intermediate
Nov 12, 1999

Quickly Create an Aggregate Column in SQL Server 7.0

You can create an aggregate column in a SQL 7.0 table by specifying it during creating the table itself. This is useful if you want that aggregate column to be a mathematically computed column. In the example, totalprice is an aggregate column in the Order Table:
 
CREATE TABLE Order (
unitprice money,
qty 	smallint,
totalprice as unitprice * qty) 
Jai Bardhan
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date