I need that functionality, but do not want to have this utility on the
box. I need to prevent users' curiosity and running the tool causing
high cpu.
Paul Bruno
"Paul Bruno" <getw...@sprynet.com> wrote in message
news:f48da4f5.02022...@posting.google.com...
You can also use the freeware utility ObjectScriptr to generate ddl.
Download it from http://rac4sql.home.attbi.com.
Linda
"Paul Bruno" <getw...@sprynet.com> wrote in message
news:f48da4f5.02022...@posting.google.com...
heheheh...there is an updated version of ObjectScriptr. have you downloaded
that one.
I need to get the actual c/c++ code that MS is using in the scptxfr.exe
source and write that into my application, hence avoiding the need to
use scptxfr.exe or any other MS or 3rd party tools.
Paul Bruno
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
i wrote a little sproc the other for Floyd in .server group. see if you can
use it.
--
-oj
http://rac4sql.home.attbi.com
"paul bruno" <getw...@sprynet.com> wrote in message
news:e90O6#wuBHA.2020@tkmsftngp02...
Can you recommend some doc's or an informational, not_to_large book
that might be of help to me?
Thanks,
Paul Bruno
paul bruno <getw...@sprynet.com> wrote in message news:<#U7JsixuBHA.2644@tkmsftngp05>...
yes, you can extract the core code and put it in a .sql file and run it with
isql/osql -i.
one thing to be aware of is that, as a stored procedure, you can pass
parameters to it. as a script, you have to define the parameters upfront.
here is a basic sample of what a script looks like...
declare @sdb sysname,
@tdb sysname
select @sdb='northwind', @tdb='pubs'
exec('select orderid
from [' + @sdb + ']..orders
union select titleid
from [' + @tdb + ']..authors')
oh, vyas has some info on sqlbooks @ http://vyaskn.tripod.com
hth.
--
-oj
http://rac4sql.home.attbi.com
"Paul Bruno" <getw...@sprynet.com> wrote in message
news:f48da4f5.02022...@posting.google.com...
"oj" <nospam...@home.com> wrote in message
news:#FDc908uBHA.1684@tkmsftngp04...