From 8d9dd3441eb8de41d2ddcc8baeb5efa93fed5da6 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 4 Nov 2010 16:34:50 +0000 Subject: [PATCH] add support for command line sql statement git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man8/runsqlcmd.8.pod | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/xCAT-client/pods/man8/runsqlcmd.8.pod b/xCAT-client/pods/man8/runsqlcmd.8.pod index 01b7c4041..9cbce0d8f 100644 --- a/xCAT-client/pods/man8/runsqlcmd.8.pod +++ b/xCAT-client/pods/man8/runsqlcmd.8.pod @@ -15,6 +15,8 @@ B {B<-d>|B<--dir> I} B {B<-f>|B<--files> I} +B {B} + =head1 DESCRIPTION @@ -43,13 +45,15 @@ To use a directory other than the default directory, enter the directory path h Comma separated list of files (full path), wildcard (*) can be used. - =item B The files must be of the form .sql or _.sql where is mysql,pgsql, or db2. Files must have permission 0755. +=item B + +Quoted sql statement syntax appropriate for the current database. =back @@ -82,5 +86,10 @@ To checkout one DB2 sql file: B I<-f> I +=item * + +To run the following command to the database: + +B I<"Select * from site;"> =back