FAQs - ApexSQL Script
General
|
Which version of SQL server does application support?
|
The application supports SQL Server 7.0, SQL Server 2000, SQL Server 2005 and SQL Server 2008 versions.
|
Does the application support BULK INSERT?
|
No, this possibility is not supported by ApexSQL Script.
|
Can ApexSQL Script script multiple databases at once?
|
Yes. You can select multiple databases for scripting either in the Project Wizard or in the Select Database panel.
|
Is there a way to change the script after generating?
|
Yes. The generated script can be changed and saved with the Script Editor, where the script displays after its generation.
|
Is there a way to set an output file extension up?
|
Yes. You can set up file extensions in the Options dialog. The extensions can be used on scripting the objects into individual files. For more information see {extension} tag in the help file.
|
What output types are supported by ApexSQL Script?
|
There are several output types supported: T-SQL, VBScript, .Net Executable and C# Project. The output type can be set up in the Output Type step of the Script Wizard.
|
How do I script all objects in to one file?
|
At the Script Wizard File step the Script All Objects to a Single File option should be turned ON. All the objects will be scripted into a single file with the name, specified by a template.
|
How do I script each object to an individual file?
|
In the Script Wizard File step the Script All Objects to an Individual File option should be turned ON. All the objects will be scripted into individual files with the names, specified by a template.
|
Can I combine Structure and Data modes?
|
Yes. Just choose your objects and select Both Structure and Data option in the Script Wizard. This will combine both modes.
|
How do I change the Author name that shows up in my Script header comment?
|
You can change the default Author name in the Options dialog. It will affect the script headers if you will specify {author} tag.
|
Can I set up Query Analyzer as my default editor?
|
Yes, see Output tab of the Options dialog.
Source Control Systems Support
|
Can I script directly to Source Control system?
|
Yes, the Create and Check In Script to Source Control option of the Output Options step of Script Wizard allows you to use the Source Control as storage for your scripts.
|
Which Source Control systems are supported by ApexSQL Script?
|
ApexSQL Script is full functional with Visual Source Safe and other SCC-compliant source control systems.
|
I have chosen scripting the objects into individual files. Will it automatically create the sub projects in my Source Control system per each object type?
|
Yes. Make sure that Create Directory for Each Object Type option is ON. Check the help file for more information.
.Net Packages
|
Do the generated .Net packages allow command line mode? If yes, how can I find a switch set?
|
Yes, it could be started as MS-DOS application from command line with the specified ".com" extension. To see the available options, the executable should be started in command line mode with /? or /help options.
|
What will my end users need to run the generated packages?
|
To run the packages, the .NET environment version 1.1 or higher should be present.
Structure Mode
|
How can I change output owner/schema for my objects on scripting?
|
The owner/schema for the objects can be changed/mapped in the Owner Mapping step of the Script Wizard. The Manage Owners and Change Owner options should be set.
|
Does ApexSQL Script script encrypted objects?
|
No, ApexSQL Script can't script encrypted objects.
|
Can the application automatically generate object existence check?
|
No, the application does not generate the object existence check.
Data Mode
|
How do I save the values like alias, sequence and Max that I have set in the grid of Data Mode?
|
The grid values are saved within a project file. Your values will be restored after loading the previously saved project.
|
What does the Max column in Data mode do?
|
It determines a maximum count of the rows to be scripted for a particular table.
|
What if my script has an error - will it leave bad data in my database?
|
Make sure that Include Transaction Handling option is ON. It encloses the scripted statements within a transaction that will be rolled back on any error.
|
Does ApexSQL Script manage Referential Integrity problems related to triggers and constraints?
|
Yes, it manages Referential Integrity problems related to triggers and constraints; this is controlled by the Integrity Tab of the Script Wizard. Make sure that Disable All Triggers and Constraints Prior To Loading Data option is ON if you want to disable the triggers and constrains prior to loading data.
|
Is it possible to set up other names for the objects being scripted in the Data Mode?
|
Yes, in the Main Grid it is possible to set the new alias for scripting the table/view by editing the Alias columns for the specified object.
Command Line Interface
|
Is there a way to include or exclude certain objects from scripting?
|
Yes. You can use /inc and /exc switches for such purpose. They allow you specifying several objects at once.
|
Can I set up a filename template as well as I do in Graphical mode?
|
Yes. Use /ft switch. It allows you specifying the literals in combination with the existing accepted tags.
|
Can I specify a list of the databases in Command Line Interface mode?
|
The /d switch supports pointing the list of the databases. You should split them by a space.
|
Which Source Control Systems are supported from Command Line Interface mode?
|
ApexSQL Script offers you explicit options for working with Visual Source Safe and SourceGear Vault systems. You can also set up your SCC-compliant system in the Structure Wizard in Graphical mode and save the settings within a project file. Then you can use your saved project file in /pf switch.
|
Can I set up the Script Tags values in Command Line mode?
|
Yes. You can either set them up explicitly by the defined switch set, or set them up in your project file and then use the project file instead in /pf switch.