PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > Is there anyway to script multiple tables to one file?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Is there anyway to script multiple tables to one file?

Réponse
 
LinkBack Outils de la discussion
Vieux 22/05/2008, 19h34   #1
COHENMARVIN@lycos.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Is there anyway to script multiple tables to one file?

I have various tables and stored procedures that I need to port to
another server. So I have to script each one out to a file or to the
clipboard. Is there any way to script each one so that each new one
appends to a file instead of creating a new file every time? When I
create multiple files, I have to cut and paste to put them into one
file, and the same goes for the clipboard.
Thanks,
Marvin
  Réponse avec citation
Vieux 22/05/2008, 20h31   #2
Tibor Karaszi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is there anyway to script multiple tables to one file?

The generate script wizard improvements made in service pack 2 supports this (SSMS).

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


<COHENMARVIN@lycos.com> wrote in message
news:962991ce-b701-4e48-9179-e86f70ed23a4@d77g2000hsb.googlegroups.com...
>I have various tables and stored procedures that I need to port to
> another server. So I have to script each one out to a file or to the
> clipboard. Is there any way to script each one so that each new one
> appends to a file instead of creating a new file every time? When I
> create multiple files, I have to cut and paste to put them into one
> file, and the same goes for the clipboard.
> Thanks,
> Marvin


  Réponse avec citation
Vieux 22/05/2008, 20h36   #3
Aaron Bertrand [SQL Server MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is there anyway to script multiple tables to one file?

Are you not able to do this now? What version are your client tools
(|About in Management Studio)?


On 5/22/08 2:34 PM, in article
962991ce-b701-4e48-9179-e86f70ed23a4...oglegroups.com,
"COHENMARVIN@lycos.com" <COHENMARVIN@lycos.com> wrote:

> I have various tables and stored procedures that I need to port to
> another server. So I have to script each one out to a file or to the
> clipboard. Is there any way to script each one so that each new one
> appends to a file instead of creating a new file every time? When I
> create multiple files, I have to cut and paste to put them into one
> file, and the same goes for the clipboard.
> Thanks,
> Marvin


  Réponse avec citation
Vieux 27/05/2008, 16h54   #4
COHENMARVIN@lycos.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is there anyway to script multiple tables to one file?

The versions I have are below. I don't find any 'generate script
wizard' though.
Microsoft SQL Server Management Studio 9.00.1399.00
Microsoft Analysis Services Client Tools 2005.090.1399.00
Microsoft Data Access Components (MDAC) 2000.085.1117.00 built
by: (_sqlbld)
5.0.2195

On May 22, 3:36pm, "Aaron Bertrand [SQL Server MVP]"
<ten....@dnartreb.noraa> wrote:
> Are you not able to do this now? What version are your client tools
> (|About in Management Studio)?
>
> On 5/22/08 2:34 PM, in article
> 962991ce-b701-4e48-9179-e86f70ed2...@d77g2000hsb.googlegroups.com,
>
>
>
> "COHENMAR...@lycos.com" <COHENMAR...@lycos.com> wrote:
> > I have various tables and stored procedures that I need to port to
> > another server. So I have to script each one out to a file or to the
> > clipboard. Is there any way to script each one so that each new one
> > appends to a file instead of creating a new file every time? When I
> > create multiple files, I have to cut and paste to put them into one
> > file, and the same goes for the clipboard.
> > Thanks,
> > Marvin- Hide quoted text -

>
> - Show quoted text -


  Réponse avec citation
Vieux 27/05/2008, 17h10   #5
Tibor Karaszi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is there anyway to script multiple tables to one file?

1399 is RTM. It seems you have not updated your client (SSMS) to sp2.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


<COHENMARVIN@lycos.com> wrote in message
news:5a79e6b8-fc29-4059-8424-99fbe30a0091@59g2000hsb.googlegroups.com...
The versions I have are below. I don't find any 'generate script
wizard' though.
Microsoft SQL Server Management Studio 9.00.1399.00
Microsoft Analysis Services Client Tools 2005.090.1399.00
Microsoft Data Access Components (MDAC) 2000.085.1117.00 built
by: (_sqlbld)
5.0.2195

On May 22, 3:36 pm, "Aaron Bertrand [SQL Server MVP]"
<ten....@dnartreb.noraa> wrote:
> Are you not able to do this now? What version are your client tools
> (|About in Management Studio)?
>
> On 5/22/08 2:34 PM, in article
> 962991ce-b701-4e48-9179-e86f70ed2...@d77g2000hsb.googlegroups.com,
>
>
>
> "COHENMAR...@lycos.com" <COHENMAR...@lycos.com> wrote:
> > I have various tables and stored procedures that I need to port to
> > another server. So I have to script each one out to a file or to the
> > clipboard. Is there any way to script each one so that each new one
> > appends to a file instead of creating a new file every time? When I
> > create multiple files, I have to cut and paste to put them into one
> > file, and the same goes for the clipboard.
> > Thanks,
> > Marvin- Hide quoted text -

>
> - Show quoted text -


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h38.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13949 seconds with 13 queries