HOME Welcome to RAC
The Relational Application Companion
written exclusively for SQLServer
 
News

Products
  Rac for SQL2K
   Rac Gui Screen Shots
   F.A.Q.
  Rac for SQL7
   Quick Tour
  QALite.Net (Free)
  ObjectScriptr (Free)

Online Purchase
  Rac for SQL2K
  Rac for SQL7
  Additional CALs

Download

Contact Us

Links

Misc
  Xp_Execresultset
  BOL-TO-MSDN

Object Scriptr v1.0 for SQLServer 7/2000

Introduction
Often enough you might have a need to generate a script for a sqlserver database object such as a table, a view, a stored procedure or an user-defined-function. Also, you might have a need to generate some sample data along with the DDL (Data Definition Language).This software is intended to make it easier to quickly generate such script(s). The software is a SQL-DMO application written in VB and has been tested on SQL2K and backward compatible on SQL7.

License
You must read the license agreement in full and indicate your agreement to its terms prior to installing or using the software. All rights, title and interest not expressly granted are reserved.

Freeware
This software may not be distributed or bundled with any product that is sold for commercial profit without the explicit permission of the author.

The term freeware refers only to the mode of distribution, the executables and source are copyrighted. Reuse of this code in a commercial application is not permitted.

Disclaimer
The author hereby disclaims all warranties relating to this software, whether express or implied, including without limitation any implied warranties of merchantability or fitness for a particular purpose. The author will not be liable for any special, incidental, consequential, indirect or similar damages due to loss of data or any other reason, even if the author or an agent of the author has been advised of the possibility of such damages. In no event shall the author's liability for any damages ever exceed the price paid for the software, regardless of the form of the claim. The person using the software bears all risk as to the quality and performance of the software.

What's New

Version 1.00.19

  • Remove timestamp from insert script generation
Version 1.00.18
  • New logo added
  • Allow switching to another SQLServer without completely exiting out
  • Overcome textbox buffer limit (64kb) by using richtextbox
  • Sample rowcount setting is saved and reloaded on next run
Version 1.00.17
  • Address object ownerships correctly
  • Handle Calculated/Computed columns correctly in Inserts
Version 1.00.16
  • Allow selecting all data via checkbox
  • Handle Bit datatype correctly
Version 1.00.15
  • Handle Identity column correctly
  • Handle DateTime datatype correctly
  • Update site links
Version 1.00.14
  • Maximize window allowed
  • Resize window allowed
  • Split windows allowed
Version 1.00.13
  • Logo added
Version 1.00.11
  • Available Server List
  • Remember login for later use
  • Refresh
  • Minor fixes
Version 1.00.07
  • Authenticate with either SQL login or Trusted
  • Generate Drop/Create script for Stored Procedures
  • Generate Drop/Create script for Views
  • Generate Drop/Create script for User-Defined-Functions
  • Generate Drop/Create script for Tables
  • Generate Insert statements based user defined number

Usage
Using this software is quite straight forward. Upon launching the tiny executable, you will be prompted for a servername and/or instance, authentication login/password.

These information are stored in appropriate global variables and are only good for the duration of the running application. However, the utility does offer you the ability to save your information within the system registry for later use by select "Rememer Login" from File Menu..

Upon successful authentication, you will be brought to the main screen where you can drill down to any SQLServer's object and a script will be generated to textbox on the right.

If the selected object is a table, the ObjectScriptr will also generate some Insert Into statements for you based on the defined Sample Data value.

Final Notes:
1. ObjectScriptr is a client application that is written to access all new SQL2K objects/properties such as User Defined Functions. Hence, the latest sqldmo.dll must be used. It is backward compatible with SQL7 in the sense that it can connect to a SQL7 server and access everything on the server. Please do not install ObjectScriptr on a SQL Server running ONLY SQL7. Instead install this on a client desktop as a client utility or check back here later for a version written exclusively for SQL7.

2. The install package is written to install all new required SQL-DMO components to the install folder and not to overwrite anything on your system. You can, at anytime, re-register your old sqldmo.dll for SQL7/2K if a problem should arise after installing ObjectScriptr. This can be done by executing the following command at dos prompt (you might need to replace with correct path to your SQL7\2K install folder).

regsvr32 c:\mssql7\binn\sqldmo.dll /s

 
© 2002 Rac4sql. All rights reserved.