:? ---- SQL Script size issue

Got a problem you cannot solve? Try here.
yvijayakumar
Posts: 4
Joined: Thu Jan 25, 2007 4:25 am

:? ---- SQL Script size issue

Postby yvijayakumar » Thu Jan 25, 2007 4:32 am

I generated an SQL script from MSSQL2000 and it is about 15mb in size and it contains ANSI scripts only. Each time I tried to create an mssql script in the InstallAware express, the software is getting hang. Is it related to any query size limitation in the software?

Also I need to know
How can I distribute unicode contents in the sql script?
How can I distribute applications developed using VB6?
How can I build a project compressed using the MSZip, CAB + MSI format?

Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Postby Gizm0 » Thu Jan 25, 2007 5:42 am

15mb? :O
Do you have sample data scripted also on your SQL Script?If you do so, the best practice here is to contain the whole database as an Support File (or Using the File Bag plugin) on InstallAWARE and use the Attach Database function, to attach the database, after simply creating it. I can't imagine a database having 15MB of PLAIN TEXT as a creation script..

And as far as i know, there is no limitation on the script..Instead of pasting the SQL Script in the text prompt on the Plugin, try using the #FILESCRIPT function. For example attach the .sql script on the Support Files and in the textbox write #FILESCRIPT#$SUPPORTDIR$\\my_script.sql.

For more detail please refer to manual.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
InstallAware Software Corporation

yvijayakumar
Posts: 4
Joined: Thu Jan 25, 2007 4:25 am

Postby yvijayakumar » Sat Jan 27, 2007 8:55 am

Attach database is not a good option, I think because the collation conflicts may occur in the end user machine. Any way I will the another method you suggested.

Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Postby Gizm0 » Sat Jan 27, 2007 9:04 pm

No, nothing conflicts by Attach Database, it uses the collation set on database and if it is set correctly, everything is fine.
Panagiotis Kefalidis

Software Design Team Lead

\"In order to succeed, your desire for success should be greater than your fear of failure\"

InstallAware Software Corporation

yvijayakumar
Posts: 4
Joined: Thu Jan 25, 2007 4:25 am

Postby yvijayakumar » Wed Jan 31, 2007 2:23 am

Can I get installaware express samples

1. to redistribute MSDE 2000
2. to get the default Data path of SQL Server/MSDE
3. to attach databases to SQL Server/MSDE

And another thing, I re-opened a saved file and when I am trying to open the assemblies link from the explorer bar, an error message shows that miax occured an error. What is it?

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Wed Jan 31, 2007 1:10 pm

Please post sample requests in the Sample Scripts forum.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 203 guests