<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>仙童工作室 &#187; 金蝶技术</title>
	<atom:link href="http://www.thtznet.com/category/kingdee/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thtznet.com</link>
	<description></description>
	<lastBuildDate>Wed, 23 Jun 2010 12:36:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>极通辅助脚本的用法</title>
		<link>http://www.thtznet.com/126.html</link>
		<comments>http://www.thtznet.com/126.html#comments</comments>
		<pubDate>Wed, 23 Jun 2010 09:20:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[金蝶技术]]></category>
		<category><![CDATA[极通、虚拟化应用]]></category>

		<guid isPermaLink="false">http://www.thtznet.com/?p=126</guid>
		<description><![CDATA[国内有很多使用极通的ERP客户，最近有个使用金蝶的客户要求能在金蝶登陆界面不显示上一个使用者的用户名。
原因分析：该客户的金蝶客户端全部使用极通虚拟化，金蝶没有安装任何一个本地客户端，并且使用站点极多，每个极通用户名建立一个NT用户不是很方便维护，所以是共用几个NT用户，这才导致会残留金蝶使用者的用户名。
解决方案：研究了下金蝶的用户名残留原理，上一个登陆者的用户名保存在注册表“HKEY_CURRENT_USER\Software\KingDee\KD80”的&#8221;UserName&#8221;项，清除该注册表项即可达到效果。使用极通的辅助脚本可以运行任何的批处理命令，而批处理可以很容易的进行注册表的编辑。
如图：

]]></description>
		<wfw:commentRss>http://www.thtznet.com/126.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>mssql学习笔记：检索表</title>
		<link>http://www.thtznet.com/124.html</link>
		<comments>http://www.thtznet.com/124.html#comments</comments>
		<pubDate>Sun, 13 Jun 2010 05:43:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[金蝶技术]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.thtznet.com/?p=124</guid>
		<description><![CDATA[select * from T_Debt
&#8211;检索T_Debt表返回所有的数据,负载大
select FNumber,FPerson from T_Debt
&#8211;检索T_Debt表仅返回FPerson字段列,负载小
select FNumber as 编码 from T_Debt
select FNumber 编码 from T_Debt
&#8211;检索T_Debt表返回FNumber字段列并把FNumber列名显示为&#8217;编码&#8217;,AS语法可省略
select * from T_Debt where FNumber='002'
&#8211;根据条件检索T_Debt表仅返回FNumber字段等于&#8217;002&#8242;的数据
select * from T_Debt where FNumber='002' or FPerson='zerg'
&#8211;根据条件检索T_Debt表仅返回FNumber字段或者FPerson字段满足条件
数据汇总函数：
max()   计算字段最大值
min()    计算字段最小值
avg()   计算字段平均值
sum()   计算字段合计值
count()   统计数据条数
select max(FAmount) from T_Debt
&#8211;检索T_Debt表返回FAmount字段最大值,返回的数据列为虚拟列
select count(*) from T_Debt
select count(FAmount) from T_Debt
&#8211;如果FAmount字段所有数据总没有NULL空值，则上述2句语句效果相同，如果FAmount字段包含NULL空值，则count(*)结果大于count(FAmount)结果
select * from [...]]]></description>
		<wfw:commentRss>http://www.thtznet.com/124.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mssql学习笔记：集合概念</title>
		<link>http://www.thtznet.com/123.html</link>
		<comments>http://www.thtznet.com/123.html#comments</comments>
		<pubDate>Sun, 13 Jun 2010 04:31:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[金蝶技术]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.thtznet.com/?p=123</guid>
		<description><![CDATA[select fitemid from t_ICItem union select fitemid from ICInventory
&#8211;联合2张表去除重复记录
select fitemid from t_ICItem union all select fitemid from ICInventory
&#8211;联合2张表不去除重复记录
select fitemid from t_ICItem intersect select fitemid from ICInventory
&#8211;联合2张表仅显示重复记录
select fitemid from t_ICItem t1 where t1.fitemid not in (select fitemid from ICInventory)
&#8211;联合2张表仅显示不在ICInventory中的记录
]]></description>
		<wfw:commentRss>http://www.thtznet.com/123.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mssql学习笔记：创建表,插入数据,更新数据,删除表</title>
		<link>http://www.thtznet.com/120.html</link>
		<comments>http://www.thtznet.com/120.html#comments</comments>
		<pubDate>Wed, 09 Jun 2010 07:57:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[金蝶技术]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.thtznet.com/?p=120</guid>
		<description><![CDATA[create  table  T_Person (FName  varchar(20),FAge  int,FRemark  varchar(20),primary key (FName))
&#8211;创建T_Person表，FName为主键
create table T_Debt (FNumber varchar(20),FAmount numeric(10,2) not null,FPerson varchar(20),primary key (FNumber),foreign key (FPerson) references T_Person(FName))
&#8211;创建T_Debt表，FNumber为主键，FAmount字段非空控制，T_Person表FName字段与T_Debt表FNumber字段为外键关联
insert into T_Person(FName,FAge,fremark) values('kevin','25','jiangsu')
&#8211;向T-Person表插入一笔数据
insert into T_Debt(fnumber,famount,fperson) values('001','5000.00','kevin')
&#8211;向T_Debt表插入一笔数据，FPerson字段外键约束自T_Person表FName字段(即FPerson字段想插入的数据kevin必须预先存在于T_Person表FName字段中)
update T_Person set fage='24',FRemark='shanghai' where FName='zerg'
&#8211;更新T_Person表FAge、FRemark字段
delete from T_Debt where FNumber='001'
&#8211;删除T_Debt表中FNumber字段为001的数据
drop table T_Debt
drop talbe T_Person
&#8211;删除T_Debt、T_Person表
]]></description>
		<wfw:commentRss>http://www.thtznet.com/120.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS问题导致金蝶&#8221;不能创建对象&#8221;错误</title>
		<link>http://www.thtznet.com/116.html</link>
		<comments>http://www.thtznet.com/116.html#comments</comments>
		<pubDate>Wed, 28 Apr 2010 13:13:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[金蝶技术]]></category>
		<category><![CDATA[不能创建对象]]></category>
		<category><![CDATA[金蝶]]></category>

		<guid isPermaLink="false">http://www.thtznet.com/?p=116</guid>
		<description><![CDATA[前天在一家客户那遇到一个奇怪的问题：不能创建对象&#8221;错误，远程组件配置在第一个服务上即卡死无法测试验证通过，也不报错误。金蝶服务器使用经典帐户验证，客户机可访问金蝶服务器的共享，服务器上DTC服务正常，部分客户端可正常使用金蝶，唯独几台刚刚被硬件公司维护的计算机无法正常打开金蝶主控台，想了半天才搞清楚原来是DNS问题，由于新建的域控制器，而金蝶服务器又没有加入到域控里，客户端的首选DNS仅设置了域控机的IP地址，导致金蝶客户端无法正常和金蝶服务器解析通讯，虽然使用的是IP地址配置&#8221;远程组件配置&#8221;，但是好像通讯还是依赖DNS解析，不清楚具体的金蝶通讯原理是什么，但是把次要DNS地址设置为金蝶服务器的IP后即解决了。
]]></description>
		<wfw:commentRss>http://www.thtznet.com/116.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
