从文本导入导出
2016-01-20 11:15
113 查看
-- 允许配置高级选项
EXEC master.sys..spconfigure'show advanced options',1
-- 重新配置
RECONFIGURE
-- 启用xp_cmdshell
EXEC master.sys.sp_configure 'xp_cmdshell', 1
--重新配置
RECONFIGURE
--表1 bol_checkbank从CTIL1中获取
EXEC master..xp_cmdshell 'BCP crm.dbo.bol_checkbank in d:\FTP\CTIL1\bol_checkbank.txt -c -t -T'
--表2 loanrate_list从CTIL2中获取
EXEC master..xp_cmdshell 'BCP crm.dbo.loanrate_list in d:\FTP\CTIL2\loanrate_list.txt -c -t -T'
--表3 crm_m_cust_summary从CTIL3中获取
EXEC master..xp_cmdshell 'BCP crm.dbo.crm_m_cust_summary_test in d:\FTP\CTIL3\crm_m_cust_summary.txt -c -t -T'
-- 允许配置高级选项
EXEC master.sys..spconfigure'show advanced options',1
-- 重新配置
RECONFIGURE
-- 启用xp_cmdshell
EXEC master.sys.sp_configure 'xp_cmdshell', 0
--重新配置
RECONFIGURE
EXEC master.sys..spconfigure'show advanced options',1
-- 重新配置
RECONFIGURE
-- 启用xp_cmdshell
EXEC master.sys.sp_configure 'xp_cmdshell', 1
--重新配置
RECONFIGURE
--表1 bol_checkbank从CTIL1中获取
EXEC master..xp_cmdshell 'BCP crm.dbo.bol_checkbank in d:\FTP\CTIL1\bol_checkbank.txt -c -t -T'
--表2 loanrate_list从CTIL2中获取
EXEC master..xp_cmdshell 'BCP crm.dbo.loanrate_list in d:\FTP\CTIL2\loanrate_list.txt -c -t -T'
--表3 crm_m_cust_summary从CTIL3中获取
EXEC master..xp_cmdshell 'BCP crm.dbo.crm_m_cust_summary_test in d:\FTP\CTIL3\crm_m_cust_summary.txt -c -t -T'
-- 允许配置高级选项
EXEC master.sys..spconfigure'show advanced options',1
-- 重新配置
RECONFIGURE
-- 启用xp_cmdshell
EXEC master.sys.sp_configure 'xp_cmdshell', 0
--重新配置
RECONFIGURE
相关文章推荐
- EventBus使用详解(一)——初步使用EventBus
- EventBus使用详解(一)——初步使用EventBus
- EventBus使用详解(一)——初步使用EventBus
- EventBus使用详解(一)——初步使用EventBus
- EventBus使用详解(一)——初步使用EventBus
- EventBus使用详解(一)——初步使用EventBus
- EventBus使用详解(一)——初步使用EventBus
- EventBus使用详解(一)——初步使用EventBus
- EventBus使用详解(一)——初步使用EventBus
- EventBus使用详解(一)——初步使用EventBus
- EventBus使用详解(一)——初步使用EventBus
- Code Review最佳实践
- Python使用Beautiful Soup包编写爬虫时的一些关键点
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- 关于RadioGroup切换数据和布局的一些小问题
- 设计模式:6. 装饰器模式(Decorator)
- Cgroup - Linux 的 IO 资源隔离
- Android product development
- 蓝桥杯 李白打酒
- VB.NET两种方法使PictureBox图片框可透明之二