上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页

2010年8月10日

Oracle9i安装图解和注意的地方

摘要: 网上直接搜索“Oracle9i服务端安装和客户端配置”或者从我的下载空间里直接下载DOC文档即可注意的地方就是一般是安装好ORACLE服务端软件+ORACLE 管理工具+ORACLE客户端工具。一、服务器-客户机模式 第一要务篇:安装 服务器端安装: 所谓服务器端就是用来做数据库服务器的电脑端,我们首先要做的事情肯定是要安装Oracle9i服务器,安装步骤如下:图1图2 将Oracle的第一张安装光盘放入光驱,光盘会自动启动,如图1所示,单击[开始安装按钮],进入Oracle通用安装器,见图2,单击[下一步]。 选择Oracle的安装路径和名称:图3 在如图3所示的对话框中,选择O... 阅读全文

posted @ 2010-08-10 00:22 风灵溪清 阅读(324) 评论(0) 推荐(0) 编辑

ORACLE新建用户最快最实用的方式

摘要: ORACLE新建用户最快最实用的方式:步骤一开始菜单找到SQL Plus快捷方式(E:/Documents and Settings/All Users/「开始」菜单/程序/Oracle - OraHome92/Application Development/SQL Plus),打开后。使用系统默认的用户名称(system)+口令(manager)+主机字符串(数据库名)进去步骤二SQL>create tablespace 用户名 datafile 'E:/oracle/ora92/network/admin/用户名.ora' SIZE 10M REUSE AUTOEXT 阅读全文

posted @ 2010-08-10 00:17 风灵溪清 阅读(144) 评论(0) 推荐(0) 编辑

CSDN草稿出问题了。读到别人的草稿了。

摘要: 使用WinPcap抓取ARP数据包,其中定义ARP数据包结构体如下:typedef struct ArpPacket{u_int16_t macaddrtype;u_int16_t proaddrtype;u_int8_t macaddrlen;u_int8_t proaddrlen;u_int16_t operationtype;u_int8_t srcmac[6];struct in_addr srcip;// u_int8_t srcip[4];定义为字符数组能正确输出u_int8_t dstmac[6];struct in_addr dstip;//u_int8_t dstip[4]; 阅读全文

posted @ 2010-08-10 00:07 风灵溪清 阅读(160) 评论(0) 推荐(0) 编辑

2010年6月29日

C#备份收藏夹代码

摘要: //添加系统引用using System.IO;private void 备份收藏夹ToolStripMenuItem_Click(object sender, EventArgs e) { string BackupFavoritePath; string SystemFavoritePath = GetSystemFavoritePath(); FolderBrowserDialog myfolderBrowserDialog = new FolderBrowserDialog(); myfolderBrowserDialog.RootFolder = Environment.Specia 阅读全文

posted @ 2010-06-29 04:42 风灵溪清 阅读(127) 评论(0) 推荐(0) 编辑

2010年6月22日

UltraGrid常用方法属性代码

摘要: 一、UltraGrid更换行背景色private void dxGrid_InitializeLayout(object sender, InitializeLayoutEventArgs e) { foreach (UltraGridRow row in this.dxGrid.Rows) { if (row.Cells["IsAllowEdit"].Value.ToString() == "True") { row.Appearance.BackColor = Color.LightBlue; } if (row.Cells["Confir 阅读全文

posted @ 2010-06-22 14:13 风灵溪清 阅读(621) 评论(0) 推荐(0) 编辑

2010年6月11日

维护数据表常用SQL语句

摘要: 逐渐接触多人团队ERP软件开发了。设计发布新的模块时候总结了下以前的同时的风格。总结出下面的经验。其实这些语法在以往都有研究。但是系统用起来发现还是不那么容易记得住,所以记下在此。新增数据表说明execute sp_addextendedproperty 'MS_Description', '数据表说明','user', 'dbo', 'table', '用户数据表名'新增数据表字段说明execute sp_addextendedproperty 'MS_Description', 阅读全文

posted @ 2010-06-11 14:57 风灵溪清 阅读(271) 评论(0) 推荐(0) 编辑

2010年5月5日

C# 挂起恢复运行线程代码

摘要: //C# 挂起恢复运行线程代码 暂时没找到和测试出替换Thread.Resume()恢复运行和Thread.Suspend()暂停挂起的函数//添加引用using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Data.SqlClient;using System.Threading;using System.Co 阅读全文

posted @ 2010-05-05 17:52 风灵溪清 阅读(197) 评论(0) 推荐(0) 编辑

SQLite数据库的增删改查代码

摘要: //搜集整理了一下网上的代码.找了半天居然找不到一条插入语句.好郁闷的//感觉速度还可以.小文件.很多小应用程序在用这个数据库//SQLite使用办法.直接COPYDLL文件System.Data.SQLite.DLL到应用程序DEBUG目录下。 然后在项目中添加引用,找到这个文件即可//添加引用using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows 阅读全文

posted @ 2010-05-05 00:34 风灵溪清 阅读(174) 评论(0) 推荐(0) 编辑

2010年4月30日

SQL解密ctext字段内容函数

摘要: --SQL解密ctext字段内容函数--exec sp_decrypt '约束名称'--exec sp_decrypt 'DF_InsuranceRecord_PeriodUnit'--exec sp_decrypt '存储过程名称'--exec sp_decrypt 'sp_SearchPrinting_InsuranceRecord'--主要用途:读取systemcomments中的字段内容。包括约束,存储过程等等。--原文应该来自http://blog.csdn.net/j9988/archive/2004/04/16/16 阅读全文

posted @ 2010-04-30 02:47 风灵溪清 阅读(256) 评论(0) 推荐(0) 编辑

2010年4月29日

SQL 读取数据库中所有数据表的所有约束类型名称和默认值

摘要: --设计初衷:转换简体版本的数据表到繁体版本--使用游标查询所有用户数据表Declare @CurrentTableName nvarchar(250)Declare UserTableCursor Cursor For --声明游标Select name From sysobjects where xtype='U' and category='2561' order by nameOpen UserTableCursor --打开游标FETCH NEXT From UserTableCursor --获取游标的下一行--使变量获得当前游标指定行的Namein 阅读全文

posted @ 2010-04-29 11:47 风灵溪清 阅读(237) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页

导航