The 16th tip of DB Query Analyzer ---- SQL Schedule will be executed even DBMS has ever been down in 6.02 Ma Genfeng (Guangdong Unitoll Services incorporated, Guangzhou 510300) Abstract The latest version of DB Query Analyzer is 6.02. In 6
The 16th tip of DB Query Analyzer
---- SQL Schedule will be executed even DBMS has ever been down in 6.02
Ma Genfeng
(Guangdong Unitoll Services incorporated, Guangzhou 510300)
Abstract The latest version of DB Query Analyzer is 6.02. In 6.02, if yous elected the option ‘SQL Schedule Reconnect’ in window configurations, theSchedule SQL scripts will be executed as long as the Database Server is in use,even though the Database Server had been down.
As I said in the interview with ChineseSystem Development Net, if I have time what I want to do is to realize the reconnection to DBMS in SQL Schedule Function even DBMS has ever been down. Today, I am very glad to realize this function.
Key words DB Query Analyzer
1 Brief introduction of DB Query Analzyer
DB Query Analyzer is presented by Master Genfeng, Ma from Chinese Mainland. It has English version named ‘DB Query Analyzer’ and Simplified Chinese version named .喎?http://www.2cto.com/kf/ware/vc/" target="_blank" class="keylink">vcD48cD5EQiBRdWVyeSBBbmFseXplciBpcyBvbmUgb2YgdGhlIGZldyBleGNlbGxlbnQgQ2xpZW50IFRvb2xzIGluIHRoZSB3b3JsZCBmb3IgaXRzoa9wb3dlcmZ1bCBmdW5jdGlvbiwgZnJpZW5kbHkgaW50ZXJmYWNlLCBlYXN5IG9wZXJhdGlvbiBhbmQgYXBwbGljYWJpbGl0eSB0byBldmVyeSBwcm9kdWN0aW9uIG9mIFJEQk1TLjwvcD48cD5JdCBsZXRzIHlvdSBxdWVyeSBPREJDIGRhdGFzb3VyY2VzLCBhdXRob3IgU1FMIHNjcmlwdHMgYW5kIHF1ZXJpZXMsIHJldHVybiBxdWVyeSByZXN1bHRzIHRvIGEgZ3JpZCBvciBmcmVlLWZvcm0gdGV4dCBvciBhIGZpbGUsIHJldHJpZXZlIE9EQkMgZHJpdmVyIGluZm9ybWF0aW9uLCBleGVjdXRlIG11bHRpcGxlIFNRTCBzY3JpcHRzIG9yIHN0b3JlZCBwcm9jZWR1cm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2VsZWN0IKGuL6GvICBhcyB0aGUgZGVmYXVsdCBzZXBlcmF0b3IgY2hhcmFjdGVyIGJldHdlZW4gc2hvcnQgZGF0ZS4gVGhpcyB3aWxsIHJlc3VsdCBpbiBhbiBlcnJvciB3aGlsZSBydW5uaW5nIERCIFF1ZXJ5IEFuYWx5emVyLGluY2x1ZGluZyBFbmdsaXNoIHZlcnNpb24goa5EQiBRdWVyeSBBbmFseXplcqGvIGFuZCBTaW1wbGlmaWVkIENoaW5lc2UgdmVyc2lvbiA8aW1nIHNyYz0="http://www.2cto.com/uploadfile/Collfiles/20141121/2014112109503416.jpg" alt="\" />.
I will solve this BUG in DB Query Analyzer 6.03. In order to use DB Query Analyzer properly,please set ‘-‘ as the default setting of short date in Win7.
2 6.02 version new characteristic
The latest version of DBQuery Analyzer is 6.02.
In 6.02, if you selected the option ‘SQLSchedule Reconnect’ in window configurations, the Schedule SQL scripts will beexecuted as long as the Database Server is in use, even though the Database Server had been down.
Secondly,all the options in window configurations will be saved to configuration file when they are changed.
Thirdly, when new window is created in which the connection to Database Sever which has been down, menu items will not be set to unusable, unlike all the former versions.
Fourthly, some codes have been optimized.
3 Preface
In this essay I will demonstrate how to execute SQL script in specified time by the SQLExecute Schedule in the latest version 6.02 of DB Query Analyzer.
OS : Windows XP
Database system : DB2
Client tool : DB Query Analyzer 6.02.
4 How to download the installation packages of DB Query Analyzer from ZOL
Recently, Zhongguancun Online distributed the ZOL Downer for users to download the resources from ZOL. In this case,users can just download the ZOL downer with the code of resources, not the installation packages.
But if someone want to install the PC which is isolated from the INTERNET, he or she will no longer do that.
So how do the users download the installation packages? Please see the eassy bellow
How to downloadthe installation package by ZOL Downer
http://blog.csdn.net/magenfeng/article/details/38750901
Figure 1 Connect to DB2 database
5 How to execute SQL Schedule even DBMS has ever been down
Figure 2 Execute SQL statement after connected to DSN ‘toolsdbR’
Figure 3 shut down the DBMS
Figure 4 Execute SQL statement when DBMS is down
Figure 5 restart the DBMS
Figure 6 Execute SQL statement while no result is return because the connection is closed
Figure 7 select the option ‘SQL Schedule Reconnected’ in the window ‘configurations’
Figure 8 open the window ‘SQL Execute Schedule’ inorder to add a schedule
Figure 9 a schedule is added
As long as the date and time is inthe past, the schedule will be executed right now. In case of checked option ‘SQLSchedule Reconnect’,the connection will be restored even DBMS has even beendown.
Figure 10 the result is returned after the schedule is executed
6 71 technical articles about DB Query Analyzerhave been published or been publishing in computer journal, Baidu Library, the CSDN resource or my fourblog-website.
The following 6 articles have been published in computer journal.
DB Query Analyzer to cancel a running SQL statement in Computer Era 12th issue of 2011 in Hangzhou.
DB Query Analyzer Returns Information in More Detail While Batch SQL Statement End of Execution in Computer Programming Skill & Maintenance 24th issue of 2011 in Beijing
The Application of the Transactions Control in DB2 with DB Query Analyzer in Computer Programming Skill & Maintenance 22nd issue of 2011 in Beijing.
How does DB Query Analyzer cancel the SQL statement committed to DBMS in Computer Engineering & Software 6th issue of 2011 in Tianjin.
The Application of the Transactions Control in Oracle with DB Query Analyzer in Microcomputer Applications11th issue of 2011 in Shanghai.
DB Query Analyzer had been strongly recommended In the New products & Tools reviews of programmer 2nd issue of 2007.
The following 65 articleshave been published or been publishing in Baidu Library, the CSDN resource ormy four blog-website.
TheDBMS that DB Query Analyzer Users often use cover all kinds of DBMS have been published.
How to configure ODBC DSN in Client to access remote DB2 for Windows
How to configure ODBC DSN to access local DB2 for Windows
WhichSQL statement is the trump card to the senior software developer
Exe packer prevent DB Query Analyzer from beging debugged have been published.
16 articles from The 1st tip of DB Query Analyze to The 16th skills of DB Query Analyzer have been published.
The table name must be enclosed in double quotation marks or sqare bracket while accessing EXCEL by DB Query Analyzer
How to download the installation package by ZOL Downer

mysqlviewshavelimitations:1)他們不使用Supportallsqloperations,限制DatamanipulationThroughViewSwithJoinsOrsubqueries.2)他們canimpactperformance,尤其是withcomplexcomplexclexeriesorlargedatasets.3)

porthusermanagementinmysqliscialforenhancingsEcurityAndsingsmenting效率databaseoperation.1)usecReateusertoAddusers,指定connectionsourcewith@'localhost'or@'%'。

mysqldoes notimposeahardlimitontriggers,butacticalfactorsdeterminetheireffactective:1)serverConfiguration impactactStriggerGermanagement; 2)複雜的TriggerSincreaseSySystemsystem load; 3)largertablesslowtriggerperfermance; 4)highConconcConcrencerCancancancancanceTigrignecentign; 5); 5)

Yes,it'ssafetostoreBLOBdatainMySQL,butconsiderthesefactors:1)StorageSpace:BLOBscanconsumesignificantspace,potentiallyincreasingcostsandslowingperformance.2)Performance:LargerrowsizesduetoBLOBsmayslowdownqueries.3)BackupandRecovery:Theseprocessescanbe

通過PHP網頁界面添加MySQL用戶可以使用MySQLi擴展。步驟如下:1.連接MySQL數據庫,使用MySQLi擴展。 2.創建用戶,使用CREATEUSER語句,並使用PASSWORD()函數加密密碼。 3.防止SQL注入,使用mysqli_real_escape_string()函數處理用戶輸入。 4.為新用戶分配權限,使用GRANT語句。

mysql'sblobissuitableForStoringBinaryDataWithInareLationalDatabase,而ilenosqloptionslikemongodb,redis和calablesolutionsolutionsolutionsoluntionsoluntionsolundortionsolunsonstructureddata.blobobobissimplobisslowdeperformberbutslowderformandperformancewithlararengedata;

toaddauserinmysql,使用:createUser'username'@'host'Indessify'password'; there'showtodoitsecurely:1)choosethehostcarecarefullytocon trolaccess.2)setResourcelimitswithoptionslikemax_queries_per_hour.3)usestrong,iniquepasswords.4)Enforcessl/tlsconnectionswith

toAvoidCommonMistakeswithStringDatatatPesInMysQl,CloseStringTypenuances,chosethirtightType,andManageEngencodingAndCollationsEttingSefectery.1)usecharforfixed lengengtrings,varchar forvariable-varchar forbariaible length,andtext/blobforlargerdataa.2 seterters seterters seterters


熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

MinGW - Minimalist GNU for Windows
這個專案正在遷移到osdn.net/projects/mingw的過程中,你可以繼續在那裡關注我們。 MinGW:GNU編譯器集合(GCC)的本機Windows移植版本,可自由分發的導入函式庫和用於建置本機Windows應用程式的頭檔;包括對MSVC執行時間的擴展,以支援C99功能。 MinGW的所有軟體都可以在64位元Windows平台上運作。

禪工作室 13.0.1
強大的PHP整合開發環境

Dreamweaver Mac版
視覺化網頁開發工具

DVWA
Damn Vulnerable Web App (DVWA) 是一個PHP/MySQL的Web應用程序,非常容易受到攻擊。它的主要目標是成為安全專業人員在合法環境中測試自己的技能和工具的輔助工具,幫助Web開發人員更好地理解保護網路應用程式的過程,並幫助教師/學生在課堂環境中教授/學習Web應用程式安全性。 DVWA的目標是透過簡單直接的介面練習一些最常見的Web漏洞,難度各不相同。請注意,該軟體中

Dreamweaver CS6
視覺化網頁開發工具