Showing posts with label assuming. Show all posts
Showing posts with label assuming. Show all posts

Thursday, March 22, 2012

Copying Tables Across Servers

I'm trying to copy data from a remote server connected thru enterprise
manager. I' assuming there shld be a means to script the table structure an
d
the contents. Is this possible and how can I go about it.
--
Beaversuse import/export wizard
"Beavers" wrote:

> I'm trying to copy data from a remote server connected thru enterprise
> manager. I' assuming there shld be a means to script the table structure
and
> the contents. Is this possible and how can I go about it.
> --
> Beavers
>|||I had problems with that because of the server names. Nevertheless I have
managed to copy with the age old copy and paste function.
Thanks!
"Aleksandar Grbic" wrote:
[vbcol=seagreen]
> use import/export wizard
>
> "Beavers" wrote:
>

Copying Tables Across Servers

I'm trying to copy data from a remote server connected thru enterprise
manager. I' assuming there shld be a means to script the table structure and
the contents. Is this possible and how can I go about it.
Beavers
use import/export wizard
"Beavers" wrote:

> I'm trying to copy data from a remote server connected thru enterprise
> manager. I' assuming there shld be a means to script the table structure and
> the contents. Is this possible and how can I go about it.
> --
> Beavers
>
|||I had problems with that because of the server names. Nevertheless I have
managed to copy with the age old copy and paste function.
Thanks!
"Aleksandar Grbic" wrote:
[vbcol=seagreen]
> use import/export wizard
>
> "Beavers" wrote:

Wednesday, March 7, 2012

copying a table

I am assuming there is some functionality to copy and paste a table in sql server..however I am not seeing where I can do this what I want to do is this:

create table1 as select * from table 2;

Please let me know how I can create a new table as a replica of an existing table. Thanks so much!Sounds like Oracle syntax there. There is an analog in SQL Server, though

Select * into copytable
from sourcetable

This won't bring over indexes, primary keys, foreign keys, or identity columns, but it does bring the bare table structure, and the data.|||thanks. Yep I am having a big of a syntax issue here. I am more of an Oracle person! Thanks again.