Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 23rd, 2008, 08:16 PM
Superman859 Superman859 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 155 Superman859 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 4 h 24 m 44 sec
Reputation Power: 2
Easily Fill Database Records in Visual Studio?

I was wondering if anyone knows if Visual Studio has a tool or feature to let you easily add records to a table and produces the SQL code for you.

I have lists of information (on paper) that I need to add to the database quickly and efficiently. Right now I just created an SQL script and am typing in all the code manually. However, this is very slow as you cannot tab between fields, have to keep looking at the screen to move the cursor around, and is simply taking way too long.

I'd love a faster way to enter data into SQL Server, and I have Visual Studio 2008 (which I've been using thus far) to interact with the database. I'd also need it to show the SQL code used to actually populate the data so I could save it in another file.

Reply With Quote
  #2  
Old April 28th, 2008, 02:35 PM
LKBrwn_DBA LKBrwn_DBA is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 294 LKBrwn_DBA User rank is Sergeant (500 - 2000 Reputation Level)LKBrwn_DBA User rank is Sergeant (500 - 2000 Reputation Level)LKBrwn_DBA User rank is Sergeant (500 - 2000 Reputation Level)LKBrwn_DBA User rank is Sergeant (500 - 2000 Reputation Level)LKBrwn_DBA User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 16 h 48 m 15 sec
Reputation Power: 9
Cool

If you have MS Access, you could create a table and a form to enter the data. Afterwards, just write a small script to generete the INSERT statements.

Otherwise, depending on the database (WinDoze SQL, MySQL,...) you could 'link' the table to MS Access and enter the data. Some dbms will generate the transaction log as a series of DML (insert/update/delete) statements.
__________________

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Easily Fill Database Records in Visual Studio?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway