Search found 8 matches

by bufoss
09 Nov 2017 02:06
Forum: DOS Batch Forum
Topic: Batch spliting wrong formatted if statements
Replies: 1
Views: 2718

Batch spliting wrong formatted if statements

Hi all, I have a folder with .sql files. Inside the scripts there are well formatted and not well formatted "if statements" To be more specific there are if statements which are all in the same line. .i.e. IF CONDITION THEN STATEMENT1; END IF; (the stament can be also in lower case) Could you help m...
by bufoss
04 Apr 2017 12:37
Forum: DOS Batch Forum
Topic: Append text in specific files of a folder (given a root path)
Replies: 2
Views: 3653

Append text in specific files of a folder (given a root path)

Hi all, I am sorry I am newbie in batch scripting, but I need a script to append text to files. I have sql files in a folder structure like the following : C:\Users\George\Desktop\SQL_FILES\data\Folder1\test.sql C:\Users\George\Desktop\SQL_FILES\data\Folder2\test.sql C:\Users\George\Desktop\SQL_FILE...
by bufoss
26 Jan 2017 12:56
Forum: DOS Batch Forum
Topic: Problem in connecting sqlplus via cmd (based on versions of sqlplus)
Replies: 0
Views: 6818

Problem in connecting sqlplus via cmd (based on versions of sqlplus)

Hi all, I am writing a batch program to connect to multiple sids for the same hostname. The issue I have is that while the script runs perfectly for me,when I give to other colleagues to use it they complaints that it does not work Version 11 :==> it works for me exit | sqlplus -s user/password@host...
by bufoss
02 Jan 2017 11:56
Forum: DOS Batch Forum
Topic: Script checking for last line text (recursive)
Replies: 2
Views: 4064

Re: Script checking for last line text (recursive)

Thanks a lot for your help
by bufoss
18 Dec 2016 09:26
Forum: DOS Batch Forum
Topic: Script checking for last line text (recursive)
Replies: 2
Views: 4064

Script checking for last line text (recursive)

Hi all, I an noobie in batch scripting and I would appreciate if you could help me. I want to create a script which reads a root path (windows path or svn path), checking only the .sql files which are inside "Packages" and "Package Bodies" folders. The script I would like to chec...
by bufoss
11 Dec 2016 04:47
Forum: DOS Batch Forum
Topic: Graphic interface in Batch ? Is it possible ?
Replies: 3
Views: 6144

Graphic interface in Batch ? Is it possible ?

Hi all,
I am new in batch scripting and I would like to ask you
if there is any way to get graphical interface such as

I would like something like the attached image and only the menu to be refreshed.

Thanks in advance for your answers
by bufoss
23 Nov 2016 13:31
Forum: DOS Batch Forum
Topic: SQLPLUS Connect and running script
Replies: 3
Views: 4659

Re: SQLPLUS Connect and running script

I appreciate your help.
It works perfect.

Thank you all for your answers
by bufoss
22 Nov 2016 14:01
Forum: DOS Batch Forum
Topic: SQLPLUS Connect and running script
Replies: 3
Views: 4659

SQLPLUS Connect and running script

Hi all, I want to make a batch script in order to verify some database instances that do not have invalid objects. I have created the following sql file : check.sql SELECT owner, object_name, object_type, status FROM dba_objects WHERE status = 'INVALID' / And the executable file is the following : s...