使用smo将数据插入sql数据库 [英] using smo to insert data into sql database

查看:226
本文介绍了使用smo将数据插入sql数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

smo中是否有任何东西可以将数据插入数据库中?
或仅用于检索数据表schema

is there''s anything in smo to insert data into database
or it''s just only for retrieving datatables schema

推荐答案

SMO是一个针对SQL Server进行管理任务,而不是处理用户表中数据的库.实际上,许多SMO操作都将数据插入数据库(到系统表中),但这是在后台进行的.

SMO不仅用于检索架构.您可以修改架构,创建数据库对象,甚至配置SQL Server.
SMO is a library to make administrative tasks against SQL Server, not to handle the data in user tables. Many of the SMO operations actually insert data into the database (into system tables) but that happens behind the scene.

SMO is not just for retrieving schema. You can make modifications to the schema, create database objects and even configure the SQL Server.


这篇关于使用smo将数据插入sql数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆