15,901,205 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 13944807 (Top 6 by date)
Member 13944807
30-Aug-18 8:55am
View
Thank you for sharing your knowledge with me!!!
My requirement is to save million of records from result set of sql into one txt file
Is there any other alternative???
Member 13944807
30-Aug-18 8:26am
View
Thanks for improving my code!!!
Same query if executed as it is @ SQLDeveloper; file is getting created & records are getting inserted in newly created file as well!!
Member 13944807
30-Aug-18 8:25am
View
Thanks for your suggestion!!!
Code: 6550
Message: ORA-06550: line 2, column 9:
PLS-00103: Encountered the symbol "D" when expecting one of the following:
:= . ( @ % ;
This is the Exception I faced!!!
Member 13944807
30-Aug-18 8:01am
View
Deleted
Thanks for improving my code!!!
Same query if executed as it is @ SQLDeveloper; file is getting created & records are getting inserted in newly created file as well!!
Member 13944807
30-Aug-18 7:55am
View
Deleted
Thanks for your suggestion!!!
Code: 6550
Message: ORA-06550: line 2, column 9:
PLS-00103: Encountered the symbol "D" when expecting one of the following:
:= . ( @ % ;
This is the Exception I faced!!!
Member 13944807
30-Aug-18 6:59am
View
Thanks for your suggestions!!!
Using mOracleConnection As New OracleConnection(mConnectionString)
mOracleConnection.Open()
Dim mOracleCommand As OracleCommand
Dim mOracleDataReader As OracleDataReader
mOracleCommand = mOracleConnection.CreateCommand()
mOracleCommand.CommandType = CommandType.Text
mOracleCommand.CommandText = GetStrSQL()
mOracleCommand.ExecuteNonQuery()
End Using
Private Sub GetStrSQL() AS String
Dim mStrSQL AS New StringBuilder
With mStrSQl
.AppendLine(" spool D:\30Aug\Testing.txt ")
.AppendLine(" SELECT * FROM [Payroll.Payslip].Payslip WHERE PayslipID > 1500; ")
.AppendLine(" spool off ")
End With
End Private
Show More