 |
|
 |
What would happen to my stored procedures when I convert from sqlserver 2005 express edition?
Will they get converted?
Thanks
Sam
|
|
|
|
 |
|
 |
Hi,
SQL Server Compact Edition does not support stored procedures, views, or triggers. So these objects will not be conevrted when you are converting SQL Server to SQL Server CE. Only Table and Data will be moved. Let me know if this helps.
Thanks
Mayukh
modified on Friday, September 4, 2009 2:39 AM
|
|
|
|
 |
|
|
 |
|
 |
I have written the application in 32 bit system. I have never tried this in a 64 bit machine. Also the installer has been build targetting the 32 bit machine. I will do some analysis on this issue. Thnx a lot for pointing this.
|
|
|
|
 |
|
 |
That's awsome...just what i was looking for!
|
|
|
|
 |
|
 |
Thnx a lot sir!!!
|
|
|
|
 |
|
|
 |
|
 |
Thanks a lot!!!
|
|
|
|
 |
|
 |
For our app, we install SQL CE side-by-side with our app rather than running the separate installer, to lessen our installation requirements and footprint on the end-user's machine. (This is a configuration that Microsoft supports, not something strange.) Because of that, we make it a policy to avoid installing SQL CE in the GAC using MS' installer on our machines, to help us avoid accidentally making something depend on it being there.
You might consider packaging SQL CE SxS in your installer in the same way. It would make it easier to use this tool in situations like ours.
Thanks!
|
|
|
|
 |
|
 |
Thanks for the suggestion. I have done that locally. But for publishing the article and reducing the size of upload I have excluded that in the published installer.
Thanks.
|
|
|
|
 |
|
 |
Will you be adding this kind of functionality?
|
|
|
|
 |
|
 |
This feature is already there. The script generator can generate script for both schema and data for SQL server. Just run the generated script to migrate CE DB to SQL Server.
|
|
|
|
 |
|
 |
Hello Ray, how difficult would it be to convert this over so it work work on the WEB?
Also Ray do you have an email address on this site?
Thanks
bk
|
|
|
|
 |
|
 |
Hi,
I have to analysis a bit for this. I will let you know.
I dont have any email address on Codeproject. You can contact me at mayukh.ray@gmail.com
Thanks
Mayukh
|
|
|
|
 |
|
 |
Any plans to add the ability to produce a change script for 2 different versions of the same database? This would be very helpful.
Otherwise, great job!
~ballistikx
|
|
|
|
 |
|
 |
I will try to incorporate in the next release..
Thanks
|
|
|
|
 |
|
 |
Just a quick note to say 'thanks'.
|
|
|
|
 |
|
 |
Thank you very much...
|
|
|
|
 |
|
 |
I've just used your tool to create a script file of one of my SqlCe databases. When creating a database using this script file I get the following error:
"The specified data type is not valid. [ DataType(if known) = varchar]"
|
|
|
|
 |
|
 |
First of all thank you for the response...and also finding the issue....
I have missed this particular thing in the script generator module.
Here is the fix for the issue:
Please add the following lines of code at the begining of the function public string GenerateTables(bool isSqlServer) in Generator.cs file of ScriptGenerator project.
public string GenerateTables(bool isSqlServer)
{
if (!isSqlServer)
{
return GenerateTables();
}
.
.
.
.
.
}
Thanks you again. Please let me know if you have found any other thing obvious. I will publish the rectified code as soon as possible.
|
|
|
|
 |
|
 |
Hi Ray,
No problem. I'll incorporate this into the source I have this evening and give it another test.
I can think of an absolute SHED LOAD of things this tool should do ... here are a few and frankly I can't think of any excuse you could possibly come up with to not do them! Great tool ...
Automate production of LINQ dbml using SqlMetal.exe
Allow user to use SqlCeEngine to Verify DB file
Test CreateDatabase() on LINQ dbml and compare to the source DB
Cheers,
|
|
|
|
 |
|
 |
Unfortunately I only have access to C#Express at the moment so I'm not able to edit this and recompile.
|
|
|
|
 |
|
 |
I will release the new version in just couple of days... with a new feature to export query result in Excel file.
I am doing the final preperation of the release.. In the meantime please replace the varchar by nchar manually... Sorry again for the inconvenience..
|
|
|
|
 |
|
 |
Hii, the new installer is in place. I have rectified the bug you have found. Let me know if that helps.
|
|
|
|
 |
|
 |
Nice! I'm just installing now ...
|
|
|
|
 |