Re: Opening large databases in Query Analyzer
- From: djlucas <djlucas@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 3 Oct 2008 14:47:01 -0700
Sorry, my bad. I meant SSMS.
In a nutshell, here's what happens:
1. I create a database in SQL Server 2000.
2. I use Primeworks Data Port Wizard to port the database to a SQLCE 2.0
SDF. (I can verify that this SDF is good because I use it in a Windows Mobile
application.)
3. I use Upgrade.exe on the Windows Mobile device to upgrade the SDF to SQL
Server Compact Edition (deployed to another version of the same application
ultimately to be deployed on a different device). (I can also verify that
this SDF is good because I can use it in my application.)
4. I load the SQL Server Compact Edition SDF in SSMS so I can make a small
change in one of the tables (a data change, not a schema change). In this
case, I update one character in an nVarChar(50) field.
As soon as I do step 4, the database gets corrupted. In one of the databases
I edited yesterday, the database grew from 268,480 KB to 400,256 KB. This
type of extreme growth does not always happen to every database I edit, but
there is always some kind of change that renders the database inert.
After the corruption, I am still able to open and access the database in
SSMS, but not in my Windows Mobile application. Calls to SqlCeConnection.Open
hang. Running compact and repair usually helps, but never fixes it entirely.
I will contact you as you requested. Thanks.
-djlucas
"Laxmi Narsimha Rao Oruganti" wrote:
I am confused here. Are you using SSMS or SSIS? SSIS standars for SQL.
Server Integration Services and helps in Data Transfer Services. I am not
sure if SSIS has any 'edit table' kind of support. If you were indeed
referring to SSMS, I would definitely be interested in how the database is
getting corrupted. So far I have not seen a database getting corrupted for
such simple operations in v3.1 or v3.5. Can you please give more details on
how everything is done to make a database corrupted. Also if possible can
you contact us at our team blog http://blogs.msdn.com/sqlservercompact/ and
choose 'Contact Us' option. So that we really can nail down the issue.
Thanks,
Laxmi
"djlucas" <djlucas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:750C9239-3336-4337-A7CA-24031F0A90C8@xxxxxxxxxxxxxxxx
That hasn't worked out too well for me. I've found that SSIS consistently
corrupts my SQL Server Compact Edition databases when I use it to edit
them.
Simply updating one field in one record damages it.
Thanks anyway.
"Laxmi Narsimha Rao Oruganti [MSFT]" wrote:
Unfortunately, Query Analyzer does not have any menu to take extra
connection string parameters like "Max Database Size" in this case.
Please
copy over the database to desktop and use VS IDE or SSMS to open the
database.
Thanks,
Laxmi
"djlucas" <djlucas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8FB86F4E-8076-47B6-952C-20445DB58D38@xxxxxxxxxxxxxxxx
Is it possible to open a Compact Edition database larger than 128 MB in
SQL
Server Compact Edition Query Analyzer on a handheld device? Whenever I
try
to, I get the error: "The database file is larger than the configured
maximum
database size. This setting takes effect on the first concurrent
database
connection only. [Required Max Database Size (in MB; 0 if
unknown),,,,,]".
I
know how to overcome this in scenarios where I can specify a connection
string, but so far I haven't been able to find any documentation on how
to
overcome this in Query Analyzer on the device.
TIA.
- References:
- Opening large databases in Query Analyzer
- From: djlucas
- Re: Opening large databases in Query Analyzer
- From: Laxmi Narsimha Rao Oruganti [MSFT]
- Re: Opening large databases in Query Analyzer
- From: djlucas
- Re: Opening large databases in Query Analyzer
- From: Laxmi Narsimha Rao Oruganti
- Opening large databases in Query Analyzer
- Prev by Date: Re: Opening large databases in Query Analyzer
- Next by Date: Re: MS SQL CE 3.5 SP1 - ClickOnce
- Previous by thread: Re: Opening large databases in Query Analyzer
- Next by thread: Re: MS SQL CE 3.5 SP1 - ClickOnce
- Index(es):
Relevant Pages
|
Loading