replicasqlserver.sql

来自「java开源的企业总线.xmlBlaster」· SQL 代码 · 共 20 行

SQL
20
字号
-- ---------------------------------------------------------------------------- 
-- Written by Michele Laghi (michele.laghi@avitech-ag.com) 2005-08-09           
-- THIS FILE IS THE INPUT FILE TO CONFIGURE THE NDB (TEST) FOR POSTGRES         
-- to invoke use:                                                               
-- osql -E -i replicaSQLServer.sql

-- ---------------------------------------------------------------------------- 
-- create the test tables to be replicated (here two equal tables are created)  
-- ---------------------------------------------------------------------------- 

use xmlBlaster
go


CREATE TABLE repltestrepl (uniqueId integer, name VARCHAR(50), surname text, email text, 
                       photo image, PRIMARY KEY (name, uniqueId));
CREATE TABLE repltest2repl (uniqueId integer, name VARCHAR(50), surname text, email text, 
                       photo image, PRIMARY KEY (name, uniqueId));

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?