`
yzd
  • 浏览: 1817631 次
  • 性别: Icon_minigender_2
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

SQL两个数据库 数据导入

 
阅读更多
向基础数据库bj5288_base中UserEmail导入用户的EmailAddress数据<br>数据源来自营销数据库bj5288_marketing的UserEmail表<br>执行方法:<br>insert into <span style="color: rgb(255, 0, 255);">bj5288_base..UserEmail</span>(EmailAddress) select EmailAddress from <span style="color: rgb(255, 0, 255);">bj5288_marketing..UserEmail </span><br>注意:<span style="color: rgb(255, 0, 0);">bj5288_base..UserEmail和bj5288_marketing..UserEmail之间是两个小点<br><br><br><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">以下部分来转载于CSDN:</span><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">http://topic.csdn.net/u/20071114/16/E198F78B-3BAE-47DF-A697-AB4029A44032.html</span><br></span>
<pre><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">创建链接服务器</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">exec</span><span style="color: rgb(0, 0, 0);"> sp_addlinkedserver  </span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">ITSV</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">''</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">SQLOLEDB</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">远程服务器名或ip地址</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);"><br></span><span style="color: rgb(0, 0, 255);">exec</span><span style="color: rgb(0, 0, 0);"> sp_addlinkedsrvlogin </span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">ITSV</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">false</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">用户名</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">密码</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);"><br><br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">查询示例</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> ITSV.数据库名.dbo.表名<br><br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">导入示例</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">into</span><span style="color: rgb(0, 0, 0);"> 表 </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> ITSV.数据库名.dbo.表名<br><br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">以后不再使用时删除链接服务器</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">exec</span><span style="color: rgb(0, 0, 0);"> sp_dropserver </span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">ITSV</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">droplogins</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);"><br><br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">连接远程/局域网数据(openrowset/openquery/opendatasource)</span><span style="color: rgb(0, 128, 128);"><br>--</span><span style="color: rgb(0, 128, 128);">1、openrowset</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 0);"><br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">查询示例</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(255, 0, 255);">openrowset</span><span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">SQLOLEDB</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">sql服务器名</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">用户名</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">密码</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,数据库名.dbo.表名)<br><br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">生成本地表</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">into</span><span style="color: rgb(0, 0, 0);"> 表 </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(255, 0, 255);">openrowset</span><span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">SQLOLEDB</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">sql服务器名</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">用户名</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">密码</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,数据库名.dbo.表名)<br><br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">把本地表导入远程表</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">insert</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(255, 0, 255);">openrowset</span><span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">SQLOLEDB</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">sql服务器名</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">用户名</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">密码</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,数据库名.dbo.表名)<br></span><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> 本地表<br><br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">更新本地表</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">update</span><span style="color: rgb(0, 0, 0);"> b<br></span><span style="color: rgb(0, 0, 255);">set</span><span style="color: rgb(0, 0, 0);"> b.列A</span><span style="color: rgb(128, 128, 128);">=</span><span style="color: rgb(0, 0, 0);">a.列A<br></span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(255, 0, 255);">openrowset</span><span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">SQLOLEDB</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">sql服务器名</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">用户名</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">;</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">密码</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,数据库名.dbo.表名)</span><span style="color: rgb(0, 0, 255);">as</span><span style="color: rgb(0, 0, 0);"> a </span><span style="color: rgb(0, 0, 255);">inner</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">join</span><span style="color: rgb(0, 0, 0);"> 本地表 b<br></span><span style="color: rgb(0, 0, 255);">on</span><span style="color: rgb(0, 0, 0);"> a.column1</span><span style="color: rgb(128, 128, 128);">=</span><span style="color: rgb(0, 0, 0);">b.column1<br><br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">openquery用法需要创建一个连接</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 0);"><br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">首先创建一个连接创建链接服务器</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">exec</span><span style="color: rgb(0, 0, 0);"> sp_addlinkedserver  </span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">ITSV</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">''</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">SQLOLEDB</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">远程服务器名或ip地址</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);"><br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">查询</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"><br></span><span style="color: rgb(0, 0, 255);">FROM</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(255, 0, 255);">openquery</span><span style="color: rgb(0, 0, 0);">(ITSV, </span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">SELECT *  FROM 数据库.dbo.表名</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)<br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">把本地表导入远程表</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">insert</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(255, 0, 255);">openquery</span><span style="color: rgb(0, 0, 0);">(ITSV, </span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">SELECT *  FROM 数据库.dbo.表名</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">)<br></span><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> 本地表<br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">更新本地表</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">update</span><span style="color: rgb(0, 0, 0);"> b<br></span><span style="color: rgb(0, 0, 255);">set</span><span style="color: rgb(0, 0, 0);"> b.列B</span><span style="color: rgb(128, 128, 128);">=</span><span style="color: rgb(0, 0, 0);">a.列B<br></span><span style="color: rgb(0, 0, 255);">FROM</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(255, 0, 255);">openquery</span><span style="color: rgb(0, 0, 0);">(ITSV, </span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">SELECT * FROM 数据库.dbo.表名</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">) </span><span style="color: rgb(0, 0, 255);">as</span><span style="color: rgb(0, 0, 0);"> a <br></span><span style="color: rgb(0, 0, 255);">inner</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">join</span><span style="color: rgb(0, 0, 0);"> 本地表 b </span><span style="color: rgb(0, 0, 255);">on</span><span style="color: rgb(0, 0, 0);"> a.列A</span><span style="color: rgb(128, 128, 128);">=</span><span style="color: rgb(0, 0, 0);">b.列A<br><br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">3、opendatasource/openrowset</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">SELECT</span><span style="color: rgb(0, 0, 0);">   </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"><br></span><span style="color: rgb(0, 0, 255);">FROM</span><span style="color: rgb(0, 0, 0);">   </span><span style="color: rgb(0, 0, 255);">opendatasource</span><span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">SQLOLEDB</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">, </span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">Data Source=ip/ServerName;User ID=登陆名;Password=密码</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);"> ).test.dbo.roy_ta<br></span><span style="color: rgb(0, 128, 128);">--</span><span style="color: rgb(0, 128, 128);">把本地表导入远程表</span><span style="color: rgb(0, 128, 128);"><br></span><span style="color: rgb(0, 0, 255);">insert</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">opendatasource</span><span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">SQLOLEDB</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">, </span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(255, 0, 0);">Data Source=ip/ServerName;User ID=登陆名;Password=密码</span><span style="color: rgb(255, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">).数据库.dbo.表名<br></span><span style="color: rgb(0, 0, 255);">select</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(128, 128, 128);">*</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">from</span><span style="color: rgb(0, 0, 0);"> 本地表 <br>**************************************************************************************************************************************<br></span>使用ADO将本地ACCESS数据库中的A表所有数据追加到SQL  Server中的B表<br><span style="color: rgb(0, 0, 0);">**************************************************************************************************************************************<br></span>'这是  分布式查询(Distribute  Query)的范畴  <br> dim  cn  as  adodb.connection  <br><br> cn.open  "Provider=SQLOLEDB.1;Persist  Security  Info=True;User  <br>ID=sa;Initial  Catalog=pubs;Data  Source=master"  <br> cn.execute  "insert <br> into  sqlTbl_a   <br>     SELECT  a.*   <br>     FROM  <br>OPENROWSET('Microsoft.Jet.OLEDB.4.0',   <br><br>'c:/MSOffice/Access/Samples/northwind.mdb';'admin';'mypwd',  Orders)  "  <br><br><br><br> '参阅  Ms  Sql7  中  有  OPENROWSET  (T-SQL)例  :   <br><br>     SELECT  a.*   <br>     FROM  <br>OPENROWSET('Microsoft.Jet.OLEDB.4.0',   <br><br>'c:/MSOffice/Access/Samples/northwind.mdb';'admin';'mypwd',  Orders)   <br><br><br>     insert  into  sqlTbl_a   <br>     SELECT  <br>a.*   <br>     FROM  OPENROWSET('Microsoft.Jet.OLEDB.4.0',   <br><br>   'c:/MSOffice/Access/Samples/northwind.mdb';'admin';'mypwd',  Orders)  </pre>
分享到:
评论

相关推荐

    sql server 2008两数据库之间数据导入

    sql server 2008从数据库A 导入数据库表数据到数据库B

    在SQL Server数据库之间进行数据导入导出

     在SQL Server中使用最广泛的就是通过SELECT INTO语句导出数据,SELECT INTO语句同时具备两个功能:根据SELECT后跟的字段以及INTO后面跟的表名建立空表(如果SELECT后是*, 空表的结构和FROM所指的表的结构相同);...

    全国省市县三级数据库,内含sql server(三个分表2008r2)和access(一个总表)两个数据库和access数据库导入sql sever的方法以及整表分成三个分表的sql执行代码

    全国省市县三级数据库 内含sql server(三个分表2008r2)和access(一个总表)两个数据库和access数据库导入sql sever的方法以及整表分成三个分表的sql执行代码

    SQL Server数据库导入MySQL数据库体验

    文中介绍了将存放在sql server数据库中的数据全部导入到mysql数据库中的两种方法。第一种是安装mysql ODBC,利用sql server的导出功能,选择mysql数据源,进行数据的直接导出,这种方法很简便,但是针对实际应用有很...

    (LebiShop)SQLSERVER数据库同步工具

    1,比较两个数据库的结构或数据差异并生成SQL脚本,一键同步 2,生成整个数据库的建库SQL脚本代码 3,在目标数据执行SQL代码 4,SQLSERVER转ACCESS,自动建表同步字段并导入数据 环境要求: 1,微软.NET Framework4.0...

    st.rar_SQL java_SQL 导入_java sql_java sql 2000_数据库作业

    使用java连接server sql 2000 的一个小作业,适合初学者,是一个老师检查作业系统,(我做的一个大作业而已) 先要导入其中的两个数据库文件

    java比较两个mysql数据库中的表信息差异

    一个简单JAVA 小工程进行两个MYSQL数据库对象的比较,导入eclipse中,修改jdbc.properties文件中的JDBC信息,然后直接运行action包类中的main方法,生成EXCEL,excel中包含表,表中列,索引,函数过程差异比对结果。...

    SQL server 数据库表的配置及其.docx

    这里介绍SQL SEVER数据的表的配置及其数据库的导入和导出等操作。 在配置中,首先要明确要做的事情,这里主要做一下几个事情 1、 登录数据库 2、 新建数据库 3、 新建表 4、 新建登录名 5、 配置表的主键和权限 为...

    sql下三种批量插入数据的方法

    本文将介绍三种批量插入数据的方法。第一种方法是使用循环语句逐个将数据项插入到数据库中;第二种方法使用的是SqlBulkCopy,使... 此例子为控制台输出程序,有两个类,一个为BulkData类,主要实现了表值参数和sqlbulk

    神通数据库-数据库快速入门.pdf

    一个数据库可以包含一个或多个命名的模式,一个模式内可以包含多个表。不同的模式中的表名可以相 同,而同一模式中的表不能同名。模式如同操作系统级的目录,但是模式不能嵌套。 用户在相应权限控制下可以访问所连接...

    宿舍楼管理系统(odbc,vc6.0,sql2005)简单是数据库作业(源代码)

    本软件实现的是简单是宿舍楼管理系统,MFC、sql2005,用的是odbc连接数据库,用数据库导入文件(.sql)导入数据库,也可以在sql2005中附加dom.mdf文件来导入数据库 本软件只是把宿舍楼这块的数据放在数据库中,用户...

    delphi7.0和sql server数据库课设作品电脑销售管理系统,附带开发文档

    由于使用SQL Server,会有两个数据库文件(MDF、LDF),关于这两个文件的导入“说明.doc”内也有讲解,不清楚的朋友可以参看一下。 文档中的UML图和数据库的ER图我在开发的时候弄丢了,实在是不好意思,大家看了...

    Excel导入SQL数据库

    服务器端环境配置还有两个偶然的发现是: 1. 笔者开发机器上原来装有金山的WPS2002,结果Excel对象创建始终出现问题,卸载WPS2002后,错误消失。 2. 笔者开发ASP代码喜欢用FrontPage,结果发现如果FrontPage打开...

    赤兔SQL Sever数据库碎片修复软件 v14.4.rar

    赤兔SQL Sever数据库恢复软件可以处理微软SQL数据库丢失,数据库损坏,数据库备份损坏,数据库日志损坏等故障下的数据恢复。   产品功能如下: 1、去掉了之前老版本的页面分析和碎片分析的界面,直接就一个库界面,...

    纯真ip数据库MySQL版

    sunwe(云飞扬)转制 1,数据来源于QQip数据库纯真版. ...两个文件 3,另外,本数据包另附转化好的 纯真ip数据文本文件.(已经经过空格批量替换和插入间隔符',' 这样可以方便直接导入其他类型的数据库)

    把excel表格里的数据导入sql数据库的两种方法

    本来最近在研究微信公众平台的,老大临时交我个任务,把excel表格里的数据导入sql数据库,我想这so easy嘛。 没想都在上面消磨了两天… 把情况介绍下:在数据库中有如下这样结构的表(A表) 我只取关键的及列里面...

    VC 实现SQL中的数据转存到Oracle数据库

    有些数据不能被Oracle使用,此程序完成SQL数据库的表中记录添加到Oracle中,这样既解决了Oracle与SQL不通用时数据库无法使用的情况,也能从该程序中学到VC连接SQL和Oracle两个数据库的方法,并且还能学到数据库查找...

    HeidiSQL_8.3.0

    此外,你可以从文本文件导入数据,运行 SQL查询,在两个数据库之间同步表以及导出选择的表到其它数据库或者 SQL 脚本当中。HeidiSQL 提供了一个用于在数据库浏览之间切换 SQL 查询和标签带有语法突出显示的简单易用...

    sqldebug--通用数据库GUI

    对同种数据库之间比较表结构不同,特别适合维护几个版本的数据库,而且还可以比较两个表之间的数据。 支持同时查询几个数据库 软件采用独特的界面技术和数据库链接池技术,实现可以同时查询几个不同/相同类别的...

    如何在Oracle中实现数据自动导入导出

    先把要安装的初始数据文件导出为initial.dmp,然后在客户计算上安装好Oracle,接着执行批处理文件impInitialData.bat(与该批处理文件同一目录还有createuser.sql,initial.dmp两个文件)。 大致的方法就是这样,可以再...

Global site tag (gtag.js) - Google Analytics