Solved

SQL / BI Publisher

Posted on 2013-12-27
1
124 Views
Last Modified: 2014-03-10
Hi,

I have a piece of code used in word / BI Publisher which works
<?if: RESERVATION_TYPE_CODE!='PROV' and contains(RATE_CODE,'STAY')='true'?>

I would like to add an extra condition in so that if

RATE_CODE ='STAY3' or 'Stay 3' the statement is ignored.

Is this possible?
0
Comment
Question by:hellblazeruk
1 Comment
 
LVL 40

Accepted Solution

by:
Sharath earned 500 total points
ID: 39774336
try this.
<?if: RESERVATION_TYPE_CODE!='PROV' and contains(RATE_CODE,'STAY')='true' and RATE_CODE!='STAY3' and RATE_CODE!='Stay 3'?>

Open in new window

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Confronted with some SQL you don't know can be a daunting task. It can be even more daunting if that SQL carries some of the old secret codes used in the Ye Olde query syntax, such as: (+)     as used in Oracle;     *=     =*    as used in Sybase …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now