⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chat1.txt

📁 用纯ASP代码实现图片上传并存入数据库中
💻 TXT
字号:

请支持我们站点以网养网,点击我们的广告,谢谢大家!  


我自己写的聊天室源代码(一)    


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

 【1_apple】 于 00-4-28 14:37:30 加贴在 Joy ASP ↑:

/*表结构设计*/
/* Microsoft SQL Server - Scripting            */
/* Server: SQL2                    */
/* Database: chat                    */
/* Creation Date 00-4-28 12:55:20             */
/* dbo:chat*/
/* dbopassword:chat001*/
/**/
/*用户动作表*/
if exists (select * from sysobjects
        where id = object_id('dbo.user_acction_table') and
          sysstat & 0xf = 3)
    drop table dbo.user_acction_table
GO

/**/
/*用户表情表*/
if exists (select * from sysobjects
        where id = object_id('dbo.user_bq_table') and
          sysstat & 0xf = 3)
    drop table dbo.user_bq_table
GO

/**/
/*用户朋友表*/
if exists (select * from sysobjects
        where id = object_id('dbo.user_friend_table') and
          sysstat & 0xf = 3)
    drop table dbo.user_friend_table
GO

/**/
/*用户进入/退出表*/
if exists (select * from sysobjects
        where id = object_id('dbo.user_hello_table') and
          sysstat & 0xf = 3)
    drop table dbo.user_hello_table
GO

/**/
/*用户信息表*/
if exists (select * from sysobjects
        where id = object_id('dbo.user_info_table') and
          sysstat & 0xf = 3)
    drop table dbo.user_info_table
GO

/**/
CREATE TABLE dbo.user_acction_table (
    user_name char (50) NOT NULL ,        /*用户名称*/
    acction_name char (50) NOT NULL ,    /*动作代码*/
    user_acction char (200) NOT NULL     /*动作内容*/
)
GO

/**/
CREATE TABLE dbo.user_bq_table (
    user_name char (50) NOT NULL ,        /*用户名称*/
    user_bq char (50) NOT NULL         /*用户表情*/
)
GO

/**/
CREATE TABLE dbo.user_friend_table (
    user_name char (50) NOT NULL ,        /*用户名称*/
    user_friend char (50) NOT NULL         /*用户朋友名称*/
)
GO

/**/
CREATE TABLE dbo.user_hello_table (
    user_name char (50) NOT NULL ,        /*用户名称*/
    come_in char (200) NOT NULL ,        /*用户进入语*/
    go_out char (200) NULL             /*用户退出语*/
)
GO

/**/
CREATE TABLE dbo.user_info_table (
    user_name char (50) NOT NULL ,        /*用户名称*/
    user_password char (50) NOT NULL ,    /*用户口令*/
    user_sex char (50) NOT NULL ,        /*用户性别*/
    user_email char (50) NULL ,        /*用户e_mail*/
    user_quesstion char (50) NULL ,        /*提示问题*/
    user_answer char (50) NULL ,        /*答案*/
    user_ip char (20) NOT NULL ,        /*用户IP*/
    user_flag int NOT NULL             /*用户权限0超级用户,*/
                        /*1普通管理员*/
                        /*2普通用户,3被封帐号*/
)
GO






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

贴子转发:

 
E-mail地址:


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

相关主题:


 我自己写的聊天室源代码(一)  - 【1_apple】 00-4-28 14:37:30 [ID:231641 点击:7] (2241 Bytes) (0)  


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

回复:

    
版 面:Joy ASP ↑  *为必填项目 第一次发言请去注册>> 怎样使用UBBCode>> UBB Code Editor>> NEW!
姓 名:* 密码: * 密码遗忘请点这里>>
Email:
主 题:*

表 情:
             
             

内 容(最多16KB) 使用签名 设置签名>>   


链接地址: 
链接标题: 
链接图片: 

 
 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -