Advertisement
jets-

sql test

Nov 6th, 2015
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 4.76 KB | None | 0 0
  1.  
  2. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='32771001010862'), tp_nt_telefones_clientes(tp_telefone('1097112736')));
  3. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='74023615300569'), tp_nt_telefones_clientes(tp_telefone('1098522898')));
  4. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='35480432803963'), tp_nt_telefones_clientes(tp_telefone('1099631901')));
  5. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='40824079424045'), tp_nt_telefones_clientes(tp_telefone('1098326714')));
  6. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='50997772767181'), tp_nt_telefones_clientes(tp_telefone('1099367308')));
  7. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='61841660367260'), tp_nt_telefones_clientes(tp_telefone('1097878759')));
  8. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='49991270192798'), tp_nt_telefones_clientes(tp_telefone('1098480548')));
  9. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='77016702913997'), tp_nt_telefones_clientes(tp_telefone('1098503945')));
  10. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='14010782046701'), tp_nt_telefones_clientes(tp_telefone('1099108026')));
  11. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='94405974919694'), tp_nt_telefones_clientes(tp_telefone('1098424309')));
  12. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='91913832268294'), tp_nt_telefones_clientes(tp_telefone('1097782276')));
  13. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='57290869110659'), tp_nt_telefones_clientes(tp_telefone('1098610719')));
  14. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='26990196975153'), tp_nt_telefones_clientes(tp_telefone('1097208407')));
  15. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='94395785501995'), tp_nt_telefones_clientes(tp_telefone('1097195017')));
  16. INSERT INTO tb_telefones_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='46168389687831'), tp_nt_telefones_clientes(tp_telefone('1099685226')));
  17.  
  18. /* enderecos_clientes */
  19.  
  20. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='32771001010862'), '46359768', '579 Oak Lane Parlin, NJ 08859.');
  21. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='74023615300569'), '38372503', '878 8th Avenue Lake In The Hills, IL 60156.');
  22. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='35480432803963'), '34311823', '340 Somerset Drive Woodstock, GA 30188.');
  23. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='40824079424045'), '14956210', '948 William Street Barberton, OH 44203.');
  24. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='50997772767181'), '43483725', '457 Route 2 Griffin, GA 30223.');
  25. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='61841660367260'), '14576247', '522 Columbia Street Peachtree City, GA 30269.');
  26. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='49991270192798'), '48415503', '804 Oak Street Silver Spring, MD 20901.');
  27. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='77016702913997'), '55153968', '872 Bridge Street Oceanside, NY 11572.');
  28. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='14010782046701'), '14826814', '434 Hickory Street Thibodaux, LA 70301.');
  29. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='94405974919694'), '28473617', '411 Arlington Avenue Hackensack, NJ 07601.');
  30. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='91913832268294'), '23573257', '848 Colonial Drive Peabody, MA 01960.');
  31. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='57290869110659'), '24488350', '201 Bayberry Drive Rosemount, MN 55068.');
  32. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='26990196975153'), '39413836', '360 Central Avenue Olive Branch, MS 38654.');
  33. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='94395785501995'), '59547171', '901 Oak Street Natchez, MS 39120.');
  34. INSERT INTO tb_enderecos_clientes VALUES ((SELECT REF(C) FROM tb_clientes C WHERE cnpj='46168389687831'), '59727291', '194 Park Street Belmont, MA 02478.');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement