Qt and SSMS Express - sql

I have developed an application in qt and connected a database to it by SSMS Express. How can I deploy this program so that this data is available to the program when installed on another computer?

You should Export your DB
then you should put db file near Exe File that you want to deploy.
watch this youtube video :
https://www.youtube.com/watch?v=hCXAgB6y8eA

Related

How can I deploy/import/install an SSIS project in SQL Server 2012 (Integration Services) without using the "Deploy" option im SQL Data Server Tools?

I have a working SSIS project locally done by me with SQL Server Data Tools. I found out that the easiest way to have the project deployed in SQL Server is using the option "deploy", available on that IDE. I have done it successfully locally.
My problem is that I am not able to deploy the project directly to the client Server beacuse I have been ordered to give him no more than files, scripts , etc. in order to get the project deployed only by him. He cannot instal SQL Server Data Tools and deploy. I wonder if I can export my already deployed project in my local SQL Server instance and make him to import it?
You can give him the .ispac file from your SSDT project's /bin folder, and he will be able to import it to the SQL Server using SSMS.

Loading .mdf database in vscode on mac

I am currently learning t-sql. I downloaded AdventureWorksLT.mdf file to run some tests. However, I do not know how to load the mdf file in vscode on mac.
Any suggestions?
you need to install SQL Server (Express), and attach the MDF to that. Subsequently you can use a SQL connection to connect and access the database.

How to deploy vb.net project with SQL Server CE as database

I created a vb.net project and I used SQL Server Compact Edition as my database. Now I want to create an installer for it, for installing on different PCs.
Does it require to install Visual Studio on the client PC? How should I create installer which will include that database file?
Sorry for my bad English.
Please help.
Thank you in advance.
This msdn link shows how to do it:
https://msdn.microsoft.com/en-us/library/aa983326.aspx
There are 2 parts to it:
Deploy the database file. This can be done by setting the file to copy local always and updating your connection string to point to this.
Deploy the sqlserverce dll's. Follow the instructions in the msdn link which will copy the 7 dll's locally. This means you don't have to install sqlserverce on the individual pcs.

Installing Application created on Visual Studio

Problem: I can't open the installed program on other computers.
I created a program on visual studio 2010 with database created on sql server 2008 express. When i created the setup and install it on MY OWN PC, it runs properly together with its database. When i try to install it on other computers, it successfully installed but i cant open. When in double click the shortcut, even the .exe, it is not responding. The application is not opening/running.
Any ideas?
Your application is probably trying to connect to a database that doesn't exist. You'll need to install SQL Express on the computer where you installed the software.

Sqlite in Visual Studio 2008 Smart Device VB.net

im developing a project where i have to read a single database file (.db) from the directory "personal" in a PDA, im using smart device vb.net and i dont know if there's a way to read that single database file, i would post here what i've tried but unfortunately i haven't found anything, if there's a way i would be very happy, thanks!
-Visual Studio 2008
- VIsual Basic SmartDevice
- Target: Windows Mobile 2003 Pocket PC.
In the case that it cant be done, is there a way to read a single database file, i mean, if it can't be done with .db, is there another kind of database file that the program can read just that one, in the directory "\personal\mydatabase.db"
System.data.SQLite included a compact framework version
http://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki
You will need to instal SQL CE 3.5 on the device and the sdk on the Computer.
(When you install the sdk, this will create a folder with all the cab files you will need)
You Can Download it Here http://www.microsoft.com/en-us/download/details.aspx?id=12264