mssql 高级查询
商品表
ProductManager_Name ProductManager_Type_Id
-------------------------------------------------------------
中国经济热点研究报告1 203,182
中国人文社会科学前沿报告1999 182,203
类别表
ProductManager_Type_Id ProductManager_Type_Name
-------------------------------------------------------------
203 皮书系列
182 经济学系列
我想查询出的结果是
ProductManager_Name ProductManager_Type_Id ProductManager_Type_Name
-----------------------------------------------------------------------------------------------------
中国经济热点研究报告1 203,182 皮书系列,经济学系列
中国人文社会科学前沿报告1999 182,203 经济学系列,皮书系列
SQL code
相关问答:
如题,想将我以前做过的网站放在网上给人看,由于是ms sql的,大多数网络商的虚拟主机是要收费的,
想打包后放在一些免费的空间,让人家自己下载去看,所以希望打过包后的数据库的表不让客户看到,
或者是加过 ......
mssql_connect("PC-200911091809\A123456712345671","sa","123");
我的mssql安装有错,只能用这种形式连,但连不上
我用asp行的.........
在php.ini中去掉extension=php ......
原数据----------------------------
a b
49 皮书系列
50 经济 ......
mssql 判断是否是日期?
SQL code:
declare @var int
set @var= isdate('g')
if @var =0
print '不是有效日期'
else
print '是有效日期'
SQL code:
select * from tb where isdate(字段)=1 ......