Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-sqlserver > #1175

Re: How do I best take a sql dump with contents where you can see pk and fk

From Erland Sommarskog <esquel@sommarskog.se>
Newsgroups comp.databases.ms-sqlserver
Subject Re: How do I best take a sql dump with contents where you can see pk and fk
Date 2012-07-16 23:54 +0200
Organization Erland Sommarskog
Message-ID <XnsA092F33A6DD1CYazorman@127.0.0.1> (permalink)
References <ju0vmv$d1h$1@dont-email.me>

Show all headers | View raw


Tony Johansson (johansson.andersson@telia.com) writes:
> I need to extract a sql dump from several tables where I can see the
> contens and primary key and foreign key 
 
SELECT *? Or do you want the "dump" in any special format? Can you
be more specific?

-- 
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx

Back to comp.databases.ms-sqlserver | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How do I best take a sql dump with contents where you can see pk and fk "Tony Johansson" <johansson.andersson@telia.com> - 2012-07-16 13:59 +0200
  Re: How do I best take a sql dump with contents where you can see pk and fk Erland Sommarskog <esquel@sommarskog.se> - 2012-07-16 23:54 +0200
    Re: How do I best take a sql dump with contents where you can see pk and fk "Tony Johansson" <johansson.andersson@telia.com> - 2012-07-17 00:01 +0200
      Re: How do I best take a sql dump with contents where you can see pk and fk Erland Sommarskog <esquel@sommarskog.se> - 2012-07-17 00:07 +0200
      Re: How do I best take a sql dump with contents where you can see pk and fk "Bob Barrows" <reb01501@NOSPAMyahoo.com> - 2012-07-16 19:35 -0400
  Re: How do I best take a sql dump with contents where you can see pk and fk rja.carnegie@gmail.com - 2012-07-17 06:14 -0700

csiph-web