<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Help</title><link>https://sourceforge.net/p/bkfsqlbatch/wiki/Help/</link><description>Recent changes to Help</description><atom:link href="https://sourceforge.net/p/bkfsqlbatch/wiki/Help/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 27 Oct 2016 06:50:01 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/bkfsqlbatch/wiki/Help/feed" rel="self" type="application/rss+xml"/><item><title>Help modified by Barış Kayar</title><link>https://sourceforge.net/p/bkfsqlbatch/wiki/Help/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -35,12 +35,12 @@

 Sample Data
-
+![](https://a.fsdn.com/con/app/proj/bkfsqlbatch/screenshots/DbDetail.png)

 Sample After Execute

-
+![](https://a.fsdn.com/con/app/proj/bkfsqlbatch/screenshots/AfterExecute.png)

 Sample Log File

@@ -51,8 +51,7 @@

 Sample Result Preview

-
-
+![](https://a.fsdn.com/con/app/proj/bkfsqlbatch/screenshots/OutputPreview.png)

 Icons made by Smartline from www.flaticon.com is licensed by CC 3.0 BY
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Barış Kayar</dc:creator><pubDate>Thu, 27 Oct 2016 06:50:01 -0000</pubDate><guid>https://sourceforge.netb0621b70fe86d0444bfe584137f26ffe190c5e05</guid></item><item><title>Help modified by Barış Kayar</title><link>https://sourceforge.net/p/bkfsqlbatch/wiki/Help/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;BKFSQLBATCH&lt;img alt="" src="https://sourceforge.net/p/bkfsqlbatch/icon"/&gt;&lt;/p&gt;
&lt;p&gt;You can use it to connect a DB (mssql, mysql ...etc) and get a query (select statement or stored procedure). It will get results and send every fields of rows that you defined to a batch file as parameters. &lt;/p&gt;
&lt;p&gt;Sample Ini File &lt;br/&gt;
&lt;span&gt;[BKF]&lt;/span&gt;&lt;br/&gt;
;ProcPath : you should define work directory as procpath&lt;br/&gt;
ProcPath=C:\BKFSQLBatch\Win64\test&lt;br/&gt;
;ProcParams: you should define all parameters as procparams seperated by space character.&lt;br/&gt;
; the parameter format should be : opt1:opt2:opt3&lt;br/&gt;
ProcParams=prodid:SQL:string prodname:SQL:string prodprice:SQL:string prodimage:SQL:string prodimage:Func:ExtractPath prodimage:Func:ExtractFileName tempdir:SQL:string&lt;br/&gt;
;1st Param : prodid:SQL:string : prodid value will return from query and send as first parameter to mysqlprocess.bat.&lt;br/&gt;
;5th Param : prodimage:Func:ExtractPath: prodimage value will return from query and execute with ExtractFileName function and send as fifth parameter to mysqlprocess.bat&lt;br/&gt;
;LogPath: you should define log directory, it should under procpath, if doesn't exists it will be create automatically.&lt;br/&gt;
LogPath=log&lt;br/&gt;
;WaitTime: you should set wait time between two process. it will pause as WaitTime after every execute batch file.&lt;br/&gt;
WaitTime=5000&lt;br/&gt;
;Repeat: you should set to 0 this parameter if you want to terminate application after task completed &lt;br/&gt;
Repeat=0&lt;br/&gt;
;if Repeat is 1 then program will not terminate, it will wait for Interval(millisecond) and process again.&lt;br/&gt;
Interval=1800000&lt;br/&gt;
&lt;span&gt;[SQL]&lt;/span&gt;&lt;br/&gt;
ConnStr=Provider=MSDASQL.1;Persist Security Info=False;Data Source=mycon&lt;br/&gt;
User=root&lt;br/&gt;
Pass=bart544&lt;br/&gt;
;LineN: you can set SQL statement&lt;br/&gt;
;Line1= select 'x.bat' as BatchFile,&lt;br/&gt;
;Line2= * from &lt;br/&gt;
;Line3= productions &lt;br/&gt;
;Line5= bla bla bla ; this line will ignore because there is no Line4&lt;br/&gt;
Line1= select 'mysqlprocess.bat' as BatchFile,p.*,'temp' as Tempdir from productions p&lt;/p&gt;
&lt;p&gt;Sample Batch File {mysqlprocess.bat} &lt;br/&gt;
echo %date% %1 %2 %3 %4 %5 %6 %7 &amp;gt;%7\%1.txt&lt;/p&gt;
&lt;p&gt;Sample Data&lt;/p&gt;
&lt;p&gt;Sample After Execute&lt;/p&gt;
&lt;p&gt;Sample Log File&lt;/p&gt;
&lt;p&gt;C:\BKFSQLBatch\Win64\test\mysqlprocess.bat "1" "usb key" "10" "c:\images\usbkey.png" "c:\images\" "usbkey.png" "temp" &lt;br/&gt;
C:\BKFSQLBatch\Win64\test\mysqlprocess.bat "2" "printer" "100" "c:\images\printer.png" "c:\images\" "printer.png" "temp" &lt;br/&gt;
C:\BKFSQLBatch\Win64\test\mysqlprocess.bat "3" "monitor" "110" "c:\images\monitor.png" "c:\images\" "monitor.png" "temp"&lt;/p&gt;
&lt;p&gt;Sample Result Preview&lt;/p&gt;
&lt;p&gt;Icons made by Smartline from www.flaticon.com is licensed by CC 3.0 BY&lt;br/&gt;
Icons merged by icoconvert.com&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Barış Kayar</dc:creator><pubDate>Thu, 27 Oct 2016 06:46:06 -0000</pubDate><guid>https://sourceforge.netf07b3568e755d406b677fbeec937d4eccd629cad</guid></item></channel></rss>