Search Results

Search: Posts Made By: photh
9,904
Posted By photh
Knew it would be something simple! Thanks.
Knew it would be something simple! Thanks.
9,904
Posted By photh
Concatenating Variables
FILE_DATE=$(date +"%Y%m%d_%H%M")_
FILE_PREFIX=${FILE_DATE}
echo $FILE_PREFIX
JS_LOG_DIR="E:\DecisionStream Jobs\Invoice Balance Fact Jobs"
echo $JS_LOG_DIR

--This is where the problem...
3,130
Posted By photh
Setting a variable
I want to set a variable to be any number of dashes. Rather than doing the following:
MYVAR="------------------"

I'd like to be able to set the variable to, say, 80 dashes but don't want to have...
8,238
Posted By photh
Try this: RETURN=`sqlplus -s $USER <<END ...
Try this:

RETURN=`sqlplus -s $USER <<END
select <column> from <table_name>;
quit
END`
if [ -z "$RETURN" ]; then
echo "Error - No rows returned "
exit 0
else
printf...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 03:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy