Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Querying on a small string variable

RTC 405, 406
SQL Server

I have two fields that are type Small String and Editor Presentation String.

I want to run a query on one field using "exists"
The other query I want to run when field 2 is "blank"

The problem,

The first query and field return all records whether a value is there or not. The second query I can't figure how to search for a blank string.

0 votes


Accepted answer

Permanent link
For the first query, you can use "is not". Then on Eclipse client check "Unassigned", on web client input a whitespace in the text box of the query condition.
For the second query, change "is not" to "is".
Sterling Ferguson-II selected this answer as the correct answer

0 votes

Comments

Thanks about the Eclipse client. It's weird that this is only available here. When I put a whitespace in the web client, after refresh, the Condition disappears.


One other answer

Permanent link
Hi Sterling,

https://jazz.net/library/article/1007

Please go through the above article.Hope this will answer your query!!


Thanks

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 201

Question asked: Jan 07 '15, 3:26 p.m.

Question was seen: 4,383 times

Last updated: Jan 12 '15, 8:53 a.m.

Confirmation Cancel Confirm