Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Generate SQL Script.
Hello, Folks
Problem in SQL EM , I can't generate sql script for selected tables with
depended objects.
Any ideas ?




Report this thread to moderator Post Follow-up to this message
Old Post
Jonh Smith
04-28-05 04:23 PM


Re: Generate SQL Script.
Jonh Smith  wrote:
> Hello, Folks
> Problem in SQL EM , I can't generate sql script for selected tables
> with depended objects.
> Any ideas ?

Could you let us know what's happening when you try to generate the DDL?

--
David G.



Report this thread to moderator Post Follow-up to this message
Old Post
David Gugick
04-28-05 04:23 PM


Re: Generate SQL Script.
David,
It is only show me selected table(s) no depended.

"David Gugick" <davidg-nospam@imceda.com> wrote in message news:%23j85MDBTFHA.2556@TK2MSFTN
GP12.phx.gbl...
> Jonh Smith wrote: 
> 
> Could you let us know what's happening when you try to generate the DDL?
> 
> -- 
> David G.
> 
>

Report this thread to moderator Post Follow-up to this message
Old Post
Jonh Smith
04-28-05 06:23 PM


Re: Generate SQL Script.
I'm not sure how these objects you are extracting are related or how SQL
EM implements dependant object extraction. It may use sp_depends to
figure it out. If you run sp_depends on the objects you are extracting,
do you see the dependant objects listed?

--
David Gugick
Imceda Software
www.imceda.com

"Jonh Smith" <snapplefor@hotmail.com> wrote in message
news:%23j00$GBTFHA.2124@TK2MSFTNGP14.phx.gbl...
David,
It is only show me selected table(s) no depended.

"David Gugick" <davidg-nospam@imceda.com> wrote in message
news:%23j85MDBTFHA.2556@TK2MSFTNGP12.phx.gbl...
> Jonh Smith wrote: 
>
> Could you let us know what's happening when you try to generate the
> DDL?
>
> --
> David G.
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
David Gugick
04-28-05 06:23 PM


Re: Generate SQL Script.
In EM "Display all dependant" working fine,sp_depends  working too
But what happen with Script Generator ? it don't generate for me dependant
objects.
Did you try your EM on this case ?




"David Gugick" <davidg-nospam@imceda.com> wrote in message
news:%23IlOeNBTFHA.3620@TK2MSFTNGP09.phx.gbl...
> I'm not sure how these objects you are extracting are related or how SQL
> EM implements dependant object extraction. It may use sp_depends to figure
> it out. If you run sp_depends on the objects you are extracting, do you
> see the dependant objects listed?
>
> --
> David Gugick
> Imceda Software
> www.imceda.com
>
> "Jonh Smith" <snapplefor@hotmail.com> wrote in message
> news:%23j00$GBTFHA.2124@TK2MSFTNGP14.phx.gbl...
> David,
> It is only show me selected table(s) no depended.
>
> "David Gugick" <davidg-nospam@imceda.com> wrote in message
> news:%23j85MDBTFHA.2556@TK2MSFTNGP12.phx.gbl... 



Report this thread to moderator Post Follow-up to this message
Old Post
Jonh Smith
04-28-05 06:23 PM


Re: Generate SQL Script.
Jonh Smith  wrote:
> In EM "Display all dependant" working fine,sp_depends  working too
> But what happen with Script Generator ? it don't generate for me
> dependant objects.
> Did you try your EM on this case ?
>

I've used it in the past successfully. If I export the "titleauthor"
table from pubs and select the option to export dependant objects, it
works for me.

--
David Gugick
Imceda Software
www.imceda.com


Report this thread to moderator Post Follow-up to this message
Old Post
David Gugick
04-29-05 01:23 AM


Re: Generate SQL Script.
David, you are right it is working for "pubs", but for different db is not.

What is a problem? What do you think?





"David Gugick" <davidg-nospam@imceda.com> wrote in message
news:O69APYCTFHA.3936@TK2MSFTNGP15.phx.gbl...
> Jonh Smith wrote: 
>
> I've used it in the past successfully. If I export the "titleauthor" table
> from pubs and select the option to export dependant objects, it works for
> me.
>
> --
> David Gugick
> Imceda Software
> www.imceda.com



Report this thread to moderator Post Follow-up to this message
Old Post
Jonh Smith
04-29-05 01:23 AM


Re: Generate SQL Script.
Jonh Smith  wrote:
> David, you are right it is working for "pubs", but for different db
> is not.
>
> What is a problem? What do you think?
>

I have no idea, unfortunately. Sorry.

--
David Gugick
Imceda Software
www.imceda.com

Report this thread to moderator Post Follow-up to this message
Old Post
David Gugick
04-29-05 01:23 AM


Re: Generate SQL Script.
Thank you David for your response.



"David Gugick" <davidg-nospam@imceda.com> wrote in message
news:eq2tq4CTFHA.2304@tk2msftngp13.phx.gbl...
> Jonh Smith wrote: 
>
> I have no idea, unfortunately. Sorry.
>
> --
> David Gugick
> Imceda Software
> www.imceda.com



Report this thread to moderator Post Follow-up to this message
Old Post
Jonh Smith
04-29-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 11:47 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006