This is easy.
2 methods
Method #1 Assumes access to Enterprise Manager
Open Enterprise Mangler (aka Enterprise Manager)
Select your Server and database in tree view.
Double click tables.
Select your table to export and right click.
Choose export data from pop up menu.
A window asking for a...
do a select into and build a perm temp table
and then bcp that table out
select *
into my_temp_table
from table_name
where
department = 'Finance'
then bcp out my_temp_table
:)
If is space is an issue le
CREATE PROCEDURE dbo.DisplayCountry_pr
(
@language int
, @countryid int
, @countrydesc varchar(35) output
)
AS
Begin
if @language = 1
begin
Select
@countrydesc = english_desc
from
country
where...
If this is running on NT you could put the following in a sql file:
dump database <database_name> to "c:\temp\database.dump"
so if you say this in file dbdump.sql for example you could get something like AT to run:
isql -Usa -Pxxxx -Sxxxx -i dbdump.sql
this will login to the db and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.