Solved

Extracting data from a form into SQL server - best process

Posted on 2007-11-23
7
482 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now