For simple scripting you could also use the Summary window - this allows
selection of multiple objects.
The other thing I like about it is you can jump directly to your object
simply by pressing the first letter of the name (like Enterprise manger)
since it doesn't add the "dbo."
[quoted text, click to view] "Andrew J. Kelly" wrote:
> You have to do it at the db level. Right click the DB and select "Tasks"
> then "Generate Scripts". From here the wizard lets you select all or
> individual objects.
>
> --
> Andrew J. Kelly SQL MVP
>
>
> "Adam" <Adam@discussions.microsoft.com> wrote in message
> news:C8658371-10AB-4727-A3C7-2A3FD7F7BA81@microsoft.com...
> >I would like to select multiple obects in the IDE for scripting purposes,
> >say
> > all my sps so I can pump them each to separate files, is there a way to do
> > this in 2005?
> >
> > Thanks in Advance!
> >
> > Regards,
> > Adam
>
>
Even though we can still select multiple objects, it scripts all object as
one big file. In SQL 2000, we had the option of generating a separate script
per object or as one big script.
[quoted text, click to view] "Alan Waiss" <Alan Waiss@discussions.microsoft.com> wrote in message
news:BF3D0EC2-4017-4961-9AC8-808A4B1A62E4@microsoft.com...
> For simple scripting you could also use the Summary window - this allows
> selection of multiple objects.
>
> The other thing I like about it is you can jump directly to your object
> simply by pressing the first letter of the name (like Enterprise manger)
> since it doesn't add the "dbo."
>
> "Andrew J. Kelly" wrote:
>
>> You have to do it at the db level. Right click the DB and select "Tasks"
>> then "Generate Scripts". From here the wizard lets you select all or
>> individual objects.
>>
>> --
>> Andrew J. Kelly SQL MVP
>>
>>
>> "Adam" <Adam@discussions.microsoft.com> wrote in message
>> news:C8658371-10AB-4727-A3C7-2A3FD7F7BA81@microsoft.com...
>> >I would like to select multiple obects in the IDE for scripting
>> >purposes,
>> >say
>> > all my sps so I can pump them each to separate files, is there a way to
>> > do
>> > this in 2005?
>> >
>> > Thanks in Advance!
>> >
>> > Regards,
>> > Adam
>>
>>
>>