I have two tables,
create table t1(
col11 int,
col12 int,
col13 int)
and
create table t2(
col21 int,
col22 int)
I tried to write a sql statement as follow to get what exist in t1 but not in t2 and vice versa.
>select * from t1
where (col11, col12) not exists (select col21, col22 from t2)...
I need to write a bash script for backup. I should get the information if there is a CD-RW in the CD drive and how much the space is available on this CD-RW. I can not find the commands to fullfil the requirement. Anyone know how to get the information I need?
Thanks.
Pengpeng
Hello,
I have a war file, such as MyTest.war. I copied this file under the directory "webapps" of tomcat's home directory.
I had modified the unpackWARs attribute to "true" for "host" component in server.xml.
But when I accessed my application, the tomcat did...
Hi,
I need do some calculate in awk script, then pass the values out. For example,
#!/bin/bash
cat example.txt | awk -v T_C=$TC T_V=$TV '{
if( $0 ! /^ABC/ ){
T_C=T_C+1;
}
if( $0 ! /^XYZ/ ){
T_V=T_V+1;
}
}'
echo $TC
echo $TV
How could I pass the values of T_C...
Hi,
We used Tomcat 4.0.6. Recently when I ran the application, sometimes the Tomcat would restart by itself. I found that in the catalina log, there was message, such as “WebappClassLoader: Resource '/WEB-INF/classes/com/xxx/xxx.class(our application class)' was modified; Date is now: Mon Feb...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.