易截截图软件、单文件、免安装、纯绿色、仅160KB

初学 sql语句 一条不太理解 - 扩充话题 / 灌水乐园

select * from channel_tab where properity=%d order by prior",channelpro
这句什么意思啊 
特别是"properity=%d 什么意思
汗 c?

我和你一样菜,没看明白。。

SQL code:

select * from channel_tab where properity=%d order by prior",channelpro



菩提本无树
明镜亦非台
本来无一物
何处惹尘埃


放到SQL里格式都不对啊

不明白

好吧,我承认我不懂...

没看懂,

引用
select * from channel_tab where properity=%d order by prior",channelpro
这句什么意思啊
特别是"properity=%d 什么意思


查询 channel_tab 表中 所有properity = channelpro 并且根据prior(优先级吧)排序

%d整型占位符



不是吧?通配符都不知道?

看不懂 通配符也没有用 = 的啊 是 like

ls说到我心里去了

select * from channel_tab where properity like'%d'order by prior,channelpro

如果是楼上说的 这样 就没问题了

太强大了,还是半个引号

引用

如果是楼上说的 这样 就没问题了


刚刚好想错了,楼主这里绝对是别的语言嵌入的sql语句,拿VC举个例子
C/C++ code:

CString strSqlCommand


相关问答:

jsp链接sql2000的疑问?



type Exception report


message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jas ......

sql - MS-SQL Server / 疑难问题

sql的软件在哪里可以下啊!在网上找了蛮多都用不了啊

随便搞一D版吧,

迅雷第一个就可以用
2000,2005都这样

http://119.147.41.16/down?cid=0698C2D64D7D637D90A6D2482298E6717D4F15CD&t=2&fmt=-1 ......

一条 SQL - Oracle / 基础和管理

有这样一条SQL
 Select Get_Costtaxrate(col1), Get_Tcostvalue(col1) from a
 
其中Get_Costtaxrate、Get_Tcostvalue都是函数,这两个函数里面都是查找一个大表,Get_Tcostvalue还需要调用Get_C ......

Access通过Sql语句创建数据库 - .NET技术 / C#

在Access的查询中执行下面的语句,无效,提示期待select ,updata ,...
CreateTble C=Answer N="回帖表"
(
  C=ID T="INTEGER" P=No M=No N="编号" Z=false,
  C=Ques ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号