一个简单sql问题 请问各位高手,比如现在有个student表,里面有studentno,name,sex,score,现在字段没内容,刚建好的表,然后我记得有个语句可以查出,表字段,就是查出来的内容是“字段”,这个语句是啥呢??? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select name from syscolumns where id=object_id('student') 我用mysql的 以上好像执行出错!! SELECT column_name from information_schema.columns WHERE table_name = ‘student’ 大妹子你说清楚呀select column_name from information_schema.columns where table_name = '表名' MYSQL还真不知道,MSSQL就知道select name from syscolumns where id=object_id('student') !请教高手 关于字符串替换函数的问题 问个SQL语句怎么写 问一个将一个字段中的多个数据竖着列出的问题啊! JDBC:Error reading data from static cursor cache 错误 给个解决方法吧 是不是使ERwin的人很少。 收缴率问题超出100%,超出的数,非常微小 一个关于SQL的问题? 请问T-SQL中有将日期转化成星期的函数吗?(在线中......) 怎样在客户端获得服务器的错误信息提示? 升级到SQL Server 2008 R2后遇到的一个新异常 無效的物件名稱 无奈~~实在搞不出来,跪求答案
select column_name from information_schema.columns where table_name = '表名'
MSSQL就知道
select name from syscolumns where id=object_id('student')