03 2017 档案

摘要:这里总结几个数据库的查询所有表字段名和字段类型的SQL语句: Mysql database: select COLUMN_NAME, DATA_TYPE from information_schema.COLUMNS where table_name = 注意:这样查询能把所有数据库中table_n 阅读全文
posted @ 2017-03-16 13:40 阅读(803) 评论(0) 推荐(0)
摘要:1. MySQL支持enum和set类型,SQL Server不支持;2. MySQL不支持nchar、nvarchar、ntext类型;3. MySQL数据库的递增语句是AUTO_INCREMENT,而MS SQL是identity(1,1);4. MS SQL默认到处表创建语句的默认值表示是(( 阅读全文
posted @ 2017-03-09 23:30 阅读(283) 评论(0) 推荐(0)
摘要:一、Excel文件在sqlserver数据库的本地 1、启用Ad Hoc Distributed Queries的方法exec sp_configure 'show advanced options',1reconfigureexec sp_configure 'Ad Hoc Distributed 阅读全文
posted @ 2017-03-05 13:58 阅读(207) 评论(0) 推荐(0)