User Profile

Collapse

Profile Sidebar

Collapse
alaurent71
alaurent71
Last Activity: Oct 17 '08, 04:59 PM
Joined: Sep 23 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • alaurent71
    replied to SQL LIKE help
    I take that back, it did work. I was putting my brackets in the wrong place.

    Thanks!!!
    See more | Go to post

    Leave a comment:


  • alaurent71
    replied to SQL LIKE help
    That's what I tried originally.
    I get the error:
    [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'f_item'.

    The WHERE part of the SQL looks like this:
    WHERE f_item LIKE '%ztb%'...
    See more | Go to post

    Leave a comment:


  • alaurent71
    started a topic SQL LIKE help

    SQL LIKE help

    I have a SELECT statement THAT has several embedded SELECT statements. I want to search using LIKE on the result of the embedded SELECT (AS f_item, AS f_desc, AS r_item or AS r_desc).

    The very confusing SELECT statement is as follows:

    SELECT A.ID,A.date1,A. rmc_value,A.use rid,B.formula,B .finishedgood,B .rawmaterial,(S ELECT C.desc1 FROM C WHERE C.ID=B.finished good AND B.finishedgood> 0) AS f_item,(SELECT C.desc2 FROM...
    See more | Go to post
No activity results to display
Show More
Working...