Home » SQL & PL/SQL » SQL & PL/SQL » Questions about SQL insert clause
Questions about SQL insert clause [message #597942] Wed, 09 October 2013 06:17 Go to next message
Totulas
Messages: 1
Registered: October 2013
Junior Member
Hello, eneryone, I have encountered some problems in SQL, hope someone can help me.

I want to create a table with a bunch of prepared data. For ease of use, I choose to generate a SQL file which contains all
the sql clauses used to create the table and insert the data. So all the data can only be inserted to a table using sql clause.

My questions:
1) If data of a column is large (for example, 1 M text), how to insert it using SQL, is there a piecewise method.
2) And how can I insert BLOB data using SQL clause.

What I what is to enclose all the operations in a single SQL file, and when the table is needed, just execute this SQL file.

Can anyone give me some help, thanks.

[Updated on: Wed, 09 October 2013 06:27]

Report message to a moderator

Re: Questions about SQL insert clause [message #597946 is a reply to message #597942] Wed, 09 October 2013 06:37 Go to previous messageGo to next message
Lalit Kumar B
Messages: 3174
Registered: May 2013
Location: World Wide on the Web
Senior Member
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:41742083561301
icon13.gif  Re: Questions about SQL insert clause [message #597957 is a reply to message #597942] Wed, 09 October 2013 07:47 Go to previous message
Michel Cadot
Messages: 68645
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

1) You can't
2) You can't

You have to use a programming language for this, you can't do it with pure SQL.

Previous Topic: Copy Bulk data in txt file
Next Topic: Return a list of non standard char
Goto Forum:
  


Current Time: Thu Apr 25 07:21:28 CDT 2024