<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[hfchenle的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/hfchenle</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; hfchenle]]></copyright><item><title><![CDATA[常用的SQL语句]]></title><link>https://blog.youkuaiyun.com/hfchenle/article/details/51906212</link><guid>https://blog.youkuaiyun.com/hfchenle/article/details/51906212</guid><author>hfchenle</author><pubDate>Thu, 14 Jul 2016 09:33:13 +0800</pubDate><description><![CDATA[1 插入单行
insert [into]  (列名)
 values (列值)
例：insert into Strdents (姓名,性别,出生日期) values ('陈乐','男','1980/6/15')

2 删除行
delete
 from  [where ]
例：delete from

Strdents where name='陈乐'（删除表Strdents中列值]]></description><category></category></item><item><title><![CDATA[Connection的open方法]]></title><link>https://blog.youkuaiyun.com/hfchenle/article/details/51898066</link><guid>https://blog.youkuaiyun.com/hfchenle/article/details/51898066</guid><author>hfchenle</author><pubDate>Wed, 13 Jul 2016 14:54:54 +0800</pubDate><description><![CDATA[Open 方法 (ADO Connection)
打开到数据源的连接

语法
HRESULT Connection::Open ( _bstr_t
 ConnectionString, _bstr_t UserID, _bstr_t Password, long Options );


参数
ConnectionString   可选，字符串，包含连接信息。
UserID  ]]></description><category></category></item><item><title><![CDATA[ADO对象之Command总结]]></title><link>https://blog.youkuaiyun.com/hfchenle/article/details/51833027</link><guid>https://blog.youkuaiyun.com/hfchenle/article/details/51833027</guid><author>hfchenle</author><pubDate>Tue, 05 Jul 2016 17:04:56 +0800</pubDate><description><![CDATA[Command对象定义了将对数据源执行的指定命令。该对象的常用属性和方法如下：

ActiveConnection属性：该属性指定Command对象所属的Connection对象。

CommandText属性：该属性包含发送给数据提供者的命令文本，根据DBMS的不同，数据提供者能够执行的命令格式也有所不同。该属性的值为包含数据提供者命令(可以是SQL，表的名字或存储过程名）的字符串。其中]]></description><category></category></item><item><title><![CDATA[ADO对象之Recordset用法总结]]></title><link>https://blog.youkuaiyun.com/hfchenle/article/details/51832973</link><guid>https://blog.youkuaiyun.com/hfchenle/article/details/51832973</guid><author>hfchenle</author><pubDate>Tue, 05 Jul 2016 17:00:14 +0800</pubDate><description><![CDATA[在ADO程序中，记录集（Recordset）对象代表一个表的记录集合或者是一个SQL命令或存储过程执行结果。简单地说：记录集实际上缓存了从数据库获得的记录，应用程序可以从记录集中获得每条记录的字段。

Recordset对象的常用属性和方法：

RecordCount属性：返回Recordset对象中记录的当前数目

BOF,EOF属性：BOF指示当前记录位置的第一记录的前一个，EOF]]></description><category></category></item><item><title><![CDATA[ADO对象之Connection用法总结]]></title><link>https://blog.youkuaiyun.com/hfchenle/article/details/51832847</link><guid>https://blog.youkuaiyun.com/hfchenle/article/details/51832847</guid><author>hfchenle</author><pubDate>Tue, 05 Jul 2016 16:49:19 +0800</pubDate><description><![CDATA[Connection对象的属性有如下几个:

1.ConnectionString：是连接字符串，通过传递包含一系列由分号分隔的“argument=value”语句的详细连接字符串，可指定用于建立连接数据源的信息。连接串格式根据数据源的不同有所不同。

2.ConnectionTimeout：该属性指示在终止尝试和产生错误前建立连接期间所等待的时间。该属性值为长整型数，单位s，默认值为15]]></description><category></category></item></channel></rss>