脚 本 之 家 www.jb51.net
页面导航:  不限条件-->记录
本地搜索:
 先使用 Ms Access 压缩修复,然后再去相关的表把备注类型的字段里的“索引”去掉备注型字段为什么不能超过1950字节?是由于备注型字段是有“索引”。用Access对数据库的表进行设计时,点试设计视图->索引, 可以看到这个字段有索引。就是这个原因,删掉这个索引就什么事都没有了。奇怪的是:在ACCESS设计表时,在备注型的字段里,根本就没有选项对备注型字段加上索引功能。本文来源于 KinJAVA日志 (http://jorkin.reallydo.com) 原文地址: http://jorki...
http://www.jb51.net//article/15395.htm
insert into article (id,class,title,content) select id,'2',title,content from article where class='1' 如果id为自动编号,就把改为: insert into article (class,title,content) select '2',title,content from article where&n...
http://www.jb51.net//article/15351.htm
有个需求,一直没有解决,在google上找了半天,给出的方案没有一个能用了,最后鬼使神差搞定了。   是这样的,假设一个表:id   f_id    value   1     2         a   2     2    &...
http://www.jb51.net//article/15328.htm
比如,表:event(idint(10)auto_incrementprimarykey,               sidint(10)notnull,               detailtext)我想删除表event中sid重复的记录,请问有没有这样SQL语句?或是通过其它方法?[cod...
http://www.jb51.net//article/15282.htm
DELETE FROM Tables WHERE ID NOT IN (SELECT Min(ID) FROM Tables GROUP BY Name)Min的话 保留最小的或者保留最大 那就改成Max即可...
http://www.jb51.net//article/15264.htm
edit_rs_cmd.CommandText = "SELECT * FROM dbo.usertable WHERE id = ?"这时候要把不能显示的字段,在放到sql中,显示出来edit_rs_cmd.CommandText = "SELECT *,[不能显示的字段],[不能显示的字段], FROM dbo.usertable WHERE id = ?"后来又找到的方法edit_rs.Fields.Item(...
http://www.jb51.net//article/15235.htm
<%'asp 数组 批量修改记录id=Request("id")id=Split(id,",")hits=Request("hits")hits=Split(hits,",")regtime=Request("regtime")regtime=Split(regtime,",")For i=LBound(id) To UBound(id)         Set rs = Server.CreateObject("ADO...
http://www.jb51.net//article/14957.htm
安装 把代码保存为cmd.bat 放置system32下 把cmd.exe copy为cmd.gif 注册表 添加 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe 字串 Debugger 字串内容 cmd.gif /c cmd.bat [code]@echo&nbs...
http://www.jb51.net//article/14879.htm
Option Explicit Dim sourcefile,ipaddress,objargsconst destfile="tempfile"Const ForWriting = 2Dim TextDim fso,objNet,ServiceObjDim txtStream, txtStreamOut Set objArgs = WScript.Arguments If objArgs.Count = ...
http://www.jb51.net//article/14876.htm
采用的是下面的方法可删除,假设重复的是test数据库中的title字段 [code]create table bak as (select * from test group by title having count(*)=1);     insert into bak (select * from test group by ...
http://www.jb51.net//article/14835.htm
 首先梳理一下操作思路:列出所有数据 选择需要修改的数据记录,进入可编辑状态。 提交修改结果完成修改    先列出数据库中的数据view.php,并在每条记录前添加一个modify字样,这样用户就可以选择自己要修改的记录进行修改。[code]<?php $link=mysql_connect("localhost","root","管理员密码"); mysql_select_db("infosystem", $link); $q = "SELECT ...
http://www.jb51.net//article/14696.htm
共有:101/10,当前2/11页  [首页] [上一页] 1 2 3 4 5 6 7 8 [下一页]  [尾页] 转到: