473,399 Members | 2,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

The "right" way to distribute a database to end-user

What is the way recommended by Microsoft for distributing the MSSQL
database with end-user application if I don't like to use sql-scripts
because I need to hide the stored procedures sources (they are marked as
"encrypted")? Backup/restore? Or something else?

*** Sent via Developersdex http://www.developersdex.com ***
Sep 15 '05 #1
3 1608
Backup/restore is easy, but it's not a very good solution. Once the
user has added their own data, you can't just drop and replace the
database when you need to update a stored procedure to the next
version. So it's fine for a first installation at a client site, but
probably impossible or very difficult after that.

If you need to protect your source code, then the best solution is a
legal contract. The encryption for stored procedure source can be
broken (some Googling should find the mechanism), so it's only useful
to stop casual users seeing the source, not serious attackers.

Scripts are almost certainly the best, most flexible solution for
deployment, when used together with a source control system. There are
also third-party deployment tools available which you could consider
(Google again).

Simon

Sep 15 '05 #2
Thank you for answer!
I think you're right. Future upgrades require new scripts with "open
source". And SP encryption is too feeble. That's why the right way is
the natural way - to use installation scripts. Ok.

*** Sent via Developersdex http://www.developersdex.com ***
Sep 15 '05 #3
Hi

You may want to look at SQL Packager
http://www.red-gate.com/products/SQL_Packager/index.htm

John

"Evgeny Gopengauz" <ev***@ucs.ru> wrote in message
news:Hv*************@news.uswest.net...
Thank you for answer!
I think you're right. Future upgrades require new scripts with "open
source". And SP encryption is too feeble. That's why the right way is
the natural way - to use installation scripts. Ok.

*** Sent via Developersdex http://www.developersdex.com ***

Sep 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Edward King | last post by:
I have a statement in a asp,like follows£º var str=window.top.main.document.all.contenttext.value; I use IIS5.0 to deploy this asp,then I visit this asp like follows:...
6
by: Dean Slindee | last post by:
I am looking for the "right" way to handle inserting and presenting null date values. Public Const c_NullDate As Date = #12:00:00 AM# If I set the value of a date variable in an SQL Server insert...
44
by: Viken Karaguesian | last post by:
Hello all, On occasion I want to open hyperlinks (images, etc.) in a new window. In the past, I've used target="_blank" to open the link in a new window. However, using the "target" attribute...
1
by: tshad | last post by:
I have columns with text and radio buttons that I would like to center or put to the right of the cell, but the attribute ItemStyle-HorizontalAlign="right" doesn't seem to work. ...
4
by: lionheart | last post by:
Hi, I am currently trying to group my classes using namespaces. But since these groups are not really independend I end up to have a lot of forward declarations. My first approache was to...
5
by: Terry Olsen | last post by:
This is the easiest way I can think of to do this: tmp=Right("0" & Now.Month.ToString, 2) The only way I've figured to do it the .NET way is this: tmp="0" & Now.Month.ToString...
7
by: the_grove_man | last post by:
How do I invoke a "Right-Click" Programmtically? John
3
by: mehdi | last post by:
I have a field that is a memo and I have a report displaying the text in that memo. What I need to know is how to "justify" the text right to left. The reason is in arabic and persian...
8
by: Chaitanya | last post by:
Hello, In my Application i want to know when user clicks both the "Left" and "Right" buttons of the Mouse. I am getting a number like this "3145728". But the MouseButtons Enum contains only Left,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.