Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Atrzy
  • Order by date
  1. Atrzy

    CASE with multiple criteria

    Is it possible to write a CASE statement using AND? Here's an example of what I'm trying to do: If Location = 0001E and Jobcode = 900922 Then return Director If Location = 0001 and Jobcode = 900922 The return Allocator Else NA I don't know how to properly write the CASE statement. I'm on...
  2. Atrzy

    text,ntext,and image data types cannot be compared...

    It may mean that you cannot sort on a text field or ntext field. Are you trying to sort by a text field or include a text field in a WHERE clause?
  3. Atrzy

    Benefits Statements

    Debchattin: Are you still sending out copies of your report? If so, I'd really like to have a copy!
  4. Atrzy

    Novice question for derived vars for v. 4.2.2

    What is the derived field you wrote that isn't working?
  5. Atrzy

    Derived Field help ~ REPLACE??? function

    Try this (Example is with basic PS_Employees table): 1st Derivied Field SUBSTR("PS_Employees.SSN",6) 2nd Derived Field Use concatenation to combine 'XXX-XX-' with first derived field
  6. Atrzy

    derived field for age

    I'm on Oracal 9 and don't write SQL directly so my reply may not help. However, it may give you some ideas. Since you haven't identified which tables/columns you are currently using in your report I'm just going to give you ideas. If you're looking to create a simple report with only those...
  7. Atrzy

    derived field for age

    What is it that you want the derived field to do - return just those persons who are between 12-18? Also, what table/column have you used for age?
  8. Atrzy

    Help please...trouble with a CASE statement for SQL

    Your formula isn't written correctly. I think the placement of the derived formula you're using in this formula is wrong, and you haven't included an ELSE option. Try this: CASE WHEN (insert your "floor" derived formula here) <1 THEN 'less than 1 year' WHEN (insert your "floor" derived formula...
  9. Atrzy

    Use Derived Field to group a range of Comprates together?

    Thanks obiwaugh, I am on Orcale 9. I figured out the CASE statement earlier this week. It worked perfectly!
  10. Atrzy

    Use Derived Field to group a range of Comprates together?

    My report lists employees by name, job, comprate, etc. I want to group together all persons who earn between a certain rate of pay (comprate). For example, Group A would be between $7.00 and $9.00, Group B between $9.01 and $11.00, and so on (up to as many as 7 groups). Can I do this with a...

Part and Inventory Search

Back
Top