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!

DataView.RowFilter - Sql Functions

Status
Not open for further replies.

ralphtrent

Programmer
Jun 2, 2003
958
US
Hello
I am using the RowFilter to filter rows based on a Machine name. The machine name may be in all UpperCase or lowercase on the database. In sql I would use the lower() function to avoid having to know the actual case. I need to use that methodology when I filter rows in a dataview using the rowfilter property. When I do that, I get an error saying :
Code:
The expression contains undefined function call lower().

But this function is legit in Sql Server 2000. Is there an ADO.Net friendly way of doing this?

Thanks.
 
post your code so we can see what you're doing. thanks!
 
it looks like CASE is not an issue, either case is working for me, but that may be because the instance of SqlServer was not installed with Case Sensitivity selected.

Thanks
 
How are the machine names getting into the datatable (i.e. could you just load them in as lowercase in the first place)?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top