kettijyy 发表于 2006-1-24 17:54:34

Why to get default value form syscomments??(ASE)

<FONT face=新宋体>Hi all,<BR><BR>In ASE ,I want to get column default value and the only way<BR>I could find is as blow:<BR>-----------------------<BR>SELECTtext<BR>FROMsyscomments<BR>WHEREid=(SELECTcdefault<BR>                FROMsyscolumns<BR>                WHEREid=object_id('YourTableName'ANDname='YourColName'))<BR>-------------------------<BR><BR>I know the column default value can be got directly in ASA.<BR><BR>1)Why the default value got form syscomments in stead ofgetting form a system tables directly in ASE,just like ASA?<BR>2)Is the value got form syscomments <STRONG>secure</STRONG>?<BR>3)Are there any other methods to get the value?<BR><BR>Thanks,<BR><BR>Best Regards,<BR>Ketti</FONT>
页: [1]
查看完整版本: Why to get default value form syscomments??(ASE)

免责声明:
本站所发布的一切破解补丁、注册机和注册信息及软件的解密分析文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:Admin@SybaseBbs.com