我爱Aspx >> C#.Net >> bbs的数据结构和存储过程(二)_ASP实例/*************************************************************************/
/* */
/* procedure : up_GetForumList */
/* */
/* Description: 取得版面列表 */
/* */
/* Parameters: None */
/* */
/* Use table: forum , bbsuser */
/* */
/* Author: bigeagle@163.net */
/* */
/* Date: 2000/2/10 */
/* */
/* History: */
/* */
/*************************************************************************/
if exists(select * from sysobjects where id = object_id('up_GetForumList'))
drop proc up_GetForumList
go
create proc up_GetForumList
as
select a.id , a.rootid , a.fatherid , a.layer , a.title , a.topiccount , a.description ,
'UserID'=b.id , b.UserName , b.Email , b.Homepage , b.Signature
from forum as a join BBSUser as b on a.Masterid=b.ID order by rootid , layer
go
select id , title , rootid from forum
up_getforumlist
/*************************************************************************/
/* */
/* procedure : up_InsertForum */
/* */
/* Description: 新建版面 */
/* */
/* Parameters: @a_strName : 版面名称 */
/* @a_strDescription: 版面描述 */
/* @a_intFatherID: 分类ID,如果是0说明是大分类 */
/* */
/* Use table: forum */
/* */
/* Author: bigeagle@163.net */
/* */
/* Date: 2000/4/23 */
Ҷƪл˵?
bbs的数据结构和存储过程(三)_..[04-28]
存储过程使用大全_ASP技巧[04-28]
金额阿拉伯数字转换为中文的存储..[04-28]
一个分页存储过程_ASP技巧[04-28]
用存储过程实现ASP对数据库访问_..[04-28]
几例在ASP存储过程的使用方法_AS..[04-28]
存储过程入门与提高_数据库教程[04-28]
存储过程介绍及asp+存储过程的使..[04-28]
在 Access 中使用“存储过程”_A..[04-28]
使用SQLSERVER的扩展存储过程实现..[04-28]
bbs的数据结构和存储过程(三)_..[04-28]
存储过程使用大全_ASP技巧[04-28]
金额阿拉伯数字转换为中文的存储..[04-28]
一个分页存储过程_ASP技巧[04-28]
用存储过程实现ASP对数据库访问_..[04-28]
几例在ASP存储过程的使用方法_AS..[04-28]
存储过程入门与提高_数据库教程[04-28]
存储过程介绍及asp+存储过程的使..[04-28]
用XML和SQL 2000来管理存储过程调..[04-28]
在 Access 中使用“存储过程”_A..[04-28]