Solved

Extracting data from a form into SQL server - best process

Posted on 2007-11-23
7
484 Views
Last Modified: 2013-12-18
Hi,

I need to extract all the data from a form to SQL server. What would be the easiest way of doing this?
There are some clob field data types, will they be a problem?

thanks
0
Comment
Question by:CraigLazar
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 2

Accepted Solution

by:
Dominik_L earned 175 total points
ID: 20338024
If You mean from HTML form than You should make a dynamic script (e.g. ASP.NET, PHP) which gets data from Your form (You can add a button to that form to send it's data to the new script) and puts it to SQL Server with SQL code like that:
INSERT INTO [table_name]([column1], [column2], [column...]) VALUES([value1], [value2], [value...])

value1, 2 and another You pass from the source form.
If there is CLOB datatype use SQL "BINARY" data type.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 20338066
Where does Notes come into this story?? Is it a Notes form??
0
 
LVL 4

Author Comment

by:CraigLazar
ID: 20338090
ok i have a notes database. And i am busy with data migration from notes into SQL server. I have been battling to get the data out of the nsf file. I am using the Notes ODBC connection and just battling to get all the data into sql and it looks like its the clob fileds that are giving me hassels. I have also tried linking to the table thru access and then using SELECT INTO statements but get errors.
there are about 144 fields in the notes database.

hope this helps
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 2

Assisted Solution

by:Dominik_L
Dominik_L earned 175 total points
ID: 20338248
If You have ODBC connection already, start SQL Server Management Studio and there is Import option. Try it out.
If that won't help You may also try to use DTS package.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 20338262
Ah, yes, thanks.

If I remember correctly, the ODBC-connection doesn't handle everything. You might try a different way: there's NotesSQL, if you want to access Notes the SQL-way.
0
 
LVL 63

Assisted Solution

by:SysExpert
SysExpert earned 75 total points
ID: 20340730
I agree with :sjef that you will probably need a specialized tool to do this automatically, or write your own custom code to do it via a conversion DB of some type.



I hope this helps !
0
 
LVL 4

Author Closing Comment

by:CraigLazar
ID: 31410641
thanks
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sql server insert 12 30
SQL Improvement  ( Speed) 14 28
MS SQL / SQL Server Native Client -- how to prevent seeing other servers? 2 25
Passing Parameter to Stored Procedure 4 24
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question