|
-
Mar 31st, 2006, 04:59 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Deploy database
I just finished beta testing my new application which uses a SQL Server 2000/5 database. I now need to create an installer to deploy the database itself so administrators can add it to their server.
How do I do this?
-
Mar 31st, 2006, 07:46 PM
#2
Frenzied Member
Re: Deploy database
with regards to sql server, i think you need to create a new deployment setup for it to install it in its server
On error goto Trap
Trap:
in case of emergency, drop the case...
****************************************
If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option. if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar
-
Mar 31st, 2006, 08:52 PM
#3
Re: Deploy database
For a sql server 2000 db you have a couple of options.
You can create a empty backup of all the tables and views etc. Then have the dba restore your db to their server.
You can have the dba add a blank empty db to their sql server and you can execute some sql scripts to generate your db objects.
For sql server 2005 I'm not sure if it has a deployment utility but if it doesnt then it will be like for 2000.
And of course you will need the appropriate permissions to be granted on the db objects too.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Mar 31st, 2006, 08:55 PM
#4
Re: Deploy database
See this post - from a sticky at the top of the DB forum here...
http://www.vbforums.com/showpost.php...28&postcount=5
It shows how to attach to a MS SQL 2005 .MDF with a connection string that makes it as easy as opening an ACCESS database (as long as SSX is already installed!)...
-
Mar 31st, 2006, 09:58 PM
#5
Re: Deploy database
Thats easier but it also states that you get "most" of the abilities which leaves me wondering what is left out when you simply attach the db using htis method vs installing the db from within EM.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Mar 31st, 2006, 10:05 PM
#6
Re: Deploy database
I would imagine that most of what you lose is the "server" tracking the DB.
Since you never attach - there is no MASTER DB entries regarding the DB - so backup and whatever else might be logged in the MASTER DB never know about your DB.
I'm guessing the run-time experience is basically the same.
I'll look further into this and post back.
-
Mar 31st, 2006, 10:06 PM
#7
Re: Deploy database
In that case you would probably also loose any security permissions too as there is no users assigned to the db?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 1st, 2006, 07:15 AM
#8
Re: Deploy database
I was always unclear on how the security transfers.
When I grab a DB using BACKUP from one of my customer machines and put it on my laptop I can still see all the logins from that domain. I see WINDOWS GROUPS and off-domain logins - all under the USERS tab in EM for that DB.
When I go to the SECURITY>LOGINS tab on my laptop SQL instance I do not see those logins listed - so they are really in the DB and not in the SERVER at that moment...
Last edited by szlamany; Apr 1st, 2006 at 07:33 AM.
-
Apr 1st, 2006, 10:43 AM
#9
Re: Deploy database
Yes, if you backed up your db with security, users, and groups, but then the SID links will be broiken if its out of the domain and you will have issues.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|