473,624 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

create database: programmaticall y vs app-tools

Just wondering if anyone knows the pros/cons between creating a database
programmaticall y vs using the application's tool windows/features that come
with SQLServer, Access, Oracle, etc...

Is it the same? Does it really matter? I have created databases with .NET
programmaticall y and it works fine, but why would anyone want to do all this
typing when they can easily point and click inside the program?

It took a few hours of typing for me to create the database and all its
tables. I am very certain that if i just point and clicked inside the
program it would've been done in less than an hour. So why do people
programmaticall y use SQL? Is it only on an as-needed basis or do many people
ALWAYS use this practice because it makes it more efficient/declarative?
Nov 16 '05 #1
3 3705
Once you've typed the syntax once ... you can save it in a .sql or text file
and reuse it over and over and over. Once it's written, no more clicking -
just modify for the new database, and then execute. Moreover, there are a
myriad of configuration issues that affect performance, security, etc., that
sometimes are easy to overlook in the GUI, and would have to be addressed by
reading through BOL to write the syntax yourself. Consider it a "healthy"
excercise that will treat you well over the long haul.

Good luck.

Mark
www.dovetaildatabases.com

"R Reyes" <RR****@discuss ions.microsoft. com> wrote in message
news:89******** *************** ***********@mic rosoft.com...
Just wondering if anyone knows the pros/cons between creating a database
programmaticall y vs using the application's tool windows/features that come with SQLServer, Access, Oracle, etc...

Is it the same? Does it really matter? I have created databases with ..NET programmaticall y and it works fine, but why would anyone want to do all this typing when they can easily point and click inside the program?

It took a few hours of typing for me to create the database and all its
tables. I am very certain that if i just point and clicked inside the
program it would've been done in less than an hour. So why do people
programmaticall y use SQL? Is it only on an as-needed basis or do many people ALWAYS use this practice because it makes it more efficient/declarative?

Nov 16 '05 #2
It's easier to migrate changes through development -> Test -> Production
servers if the database is created in script. Just apply the script to
a different server/database and you're set.

If you use the GUI tools (which, I admit, are nice and easy) you have to
manually change each database.

Mark wrote:
Once you've typed the syntax once ... you can save it in a .sql or text file
and reuse it over and over and over. Once it's written, no more clicking -
just modify for the new database, and then execute. Moreover, there are a
myriad of configuration issues that affect performance, security, etc., that
sometimes are easy to overlook in the GUI, and would have to be addressed by
reading through BOL to write the syntax yourself. Consider it a "healthy"
excercise that will treat you well over the long haul.

Good luck.

Mark
www.dovetaildatabases.com

"R Reyes" <RR****@discuss ions.microsoft. com> wrote in message
news:89******** *************** ***********@mic rosoft.com...
Just wondering if anyone knows the pros/cons between creating a database
programmatica lly vs using the application's tool windows/features that


come
with SQLServer, Access, Oracle, etc...

Is it the same? Does it really matter? I have created databases with


.NET
programmatica lly and it works fine, but why would anyone want to do all


this
typing when they can easily point and click inside the program?

It took a few hours of typing for me to create the database and all its
tables. I am very certain that if i just point and clicked inside the
program it would've been done in less than an hour. So why do people
programmatica lly use SQL? Is it only on an as-needed basis or do many


people
ALWAYS use this practice because it makes it more efficient/declarative?


--
to reply, remove .s.p.a.m. from email
Nov 16 '05 #3
Thanks for the replies.

From now on I think I will be creating all my databases with reusable
scripts.

Sounds like its definitely worth it.

"Ben Bloom" wrote:
It's easier to migrate changes through development -> Test -> Production
servers if the database is created in script. Just apply the script to
a different server/database and you're set.

If you use the GUI tools (which, I admit, are nice and easy) you have to
manually change each database.

Mark wrote:
Once you've typed the syntax once ... you can save it in a .sql or text file
and reuse it over and over and over. Once it's written, no more clicking -
just modify for the new database, and then execute. Moreover, there are a
myriad of configuration issues that affect performance, security, etc., that
sometimes are easy to overlook in the GUI, and would have to be addressed by
reading through BOL to write the syntax yourself. Consider it a "healthy"
excercise that will treat you well over the long haul.

Good luck.

Mark
www.dovetaildatabases.com

"R Reyes" <RR****@discuss ions.microsoft. com> wrote in message
news:89******** *************** ***********@mic rosoft.com...
Just wondering if anyone knows the pros/cons between creating a database
programmatica lly vs using the application's tool windows/features that


come
with SQLServer, Access, Oracle, etc...

Is it the same? Does it really matter? I have created databases with


.NET
programmatica lly and it works fine, but why would anyone want to do all


this
typing when they can easily point and click inside the program?

It took a few hours of typing for me to create the database and all its
tables. I am very certain that if i just point and clicked inside the
program it would've been done in less than an hour. So why do people
programmatica lly use SQL? Is it only on an as-needed basis or do many


people
ALWAYS use this practice because it makes it more efficient/declarative?


--
to reply, remove .s.p.a.m. from email

Nov 16 '05 #4

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

Similar topics

3
4502
by: Jorge Cecílio | last post by:
Hi all! How can I create a report from a Java application? I've been developing a (small) JDBC app that retrieves invoice data giving its number. (I'm using a Swing GUI) The app works fine so I can get all info I need from my network database.
3
6993
by: G rumpy O ld D uffer | last post by:
This is probably a 'Low-Level' question to all the ACCESS experts but I've only been using ACCESS for a couple of weeks. I've been given 30+ (and counting) separate 'Weekly' Databases which all have a Table, in exactly the same Field format, in each of these 'Weekly' DataBases. I want to set-up a new 'Master' Database, so that I can write one Query to search all the 'Weekly' Databases and produce one new Table in the 'Master' Database...
4
2743
by: Manu | last post by:
I would like to create a database for my application when it is deployed. This database can be from different types depending on the tool installed on the customer computer and will be chosen during the startup wizard. Where do I write the code in the project? How do I open a new database programmatically? How do I open a new database and copy data to it from my files programmatically? Is there an example explaining this?
5
5601
by: Jacob | last post by:
Happy New Year! I'm writing a program that will need to store large amounts of data from several DataSets that I create at runtime (for information like email, calendar, etc...). The trick is that these files will need to be created programmatically. I think saving the DataSets into Access .mdb files is a logical choice, but I'm unable to find any information for creating NEW databases programmatically and I can only find information...
7
2547
by: Tim Smith | last post by:
Hi, Is it possible to create a progam to mimic the following action a) drag oledbadapter to form1.cs b) select my oracle ole connection c) enter 'select * from mytable' d) create adapter for select only (no updates) e) repeat for all my tables f) generate dataset for all the those adapters/tables
3
31098
by: Bradford | last post by:
I have an Windows application that displays lots of different colored lines in a Panel by using the Graphics.DrawLine method. The location and length of each line comes from a database query that takes two minutes to complete. I am using the Panel's Paint event to call my drawing method, which accepts PaintEventArgs as a parameter. The problem is that every time the Window is moved or hidden, it needs to be repainted, which takes a long time...
0
1533
by: joey.powell | last post by:
We have a website with hundreds of users. The users have each registered with their email addresses and other information, and these are stored in a Microsoft SQL Server database. The user accounts in the website are not in Active Directory, as the website uses Forms Authentication. We need to be able to query the MS SQL server database for all email addresses and then programmatically (C#) create a distribution list entry in our...
14
6091
by: mistral | last post by:
Need php script to create mySQL database programmatically; since hosting configuration may not allow create database from script, script also need eliminate/rewrite all restrictions in appropriate places in that hosting.
11
2935
by: =?Utf-8?B?UGV0ZXIgSw==?= | last post by:
I am working with Visual Studio or alternately with Expression Web. I need to create about 50 aspx pages with about 1200 thumbnali images, typically arranged in three to four groups per page, having hyperlinks to the corresponding full size images. Can anybody point me to locations in MSDN or elsewhere giving the references to attach, the commands & objects for creating or opening the pages and possibly available classes? I have done...
10
2579
by: AAaron123 | last post by:
I want to create a database with one table on the host. I can't user SQL Server Management Studio to do it so I guess I have to do it programmatically. I have in mind that in the session start (or maybe application start would be better) I'd check to see it the database exists and if not create it. The problem is that I have no idea how to do that.
0
8170
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8675
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8334
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8474
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7158
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.