formatted output

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Subhas

    formatted output

    Hi,
    Is there a way to get stored procedure texts out in a formatted way
    like defncopy in Sybase????? The way they print it out really
    sucks.......... ..

    Regards

    Subhas
  • Erland Sommarskog

    #2
    Re: formatted output

    Subhas (dba_sybase2003 @yahoo.com) writes:[color=blue]
    > Is there a way to get stored procedure texts out in a formatted way
    > like defncopy in Sybase????? The way they print it out really
    > sucks.......... ..[/color]

    There is no command-line utility, but there are scripting facilities
    both in Query Analyzer and Enterprise Manager.

    In QA click F8 to get an Object Brower. Right-click a procedure and you
    find the scripting option. In EM, right-click a database and pick
    All Tasks and then Generate SQL Scripts.


    --
    Erland Sommarskog, SQL Server MVP, sommar@algonet. se

    Books Online for SQL Server SP3 at
    SQL Server 2025 redefines what's possible for enterprise data. With developer-first features and integration with analytics and AI models, SQL Server 2025 accelerates AI innovation using the data you already have.

    Comment

    Working...