• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: rawRowsForSql - appending a Number to the String
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rawRowsForSql - appending a Number to the String


  • Subject: Re: rawRowsForSql - appending a Number to the String
  • From: George Domurot <email@hidden>
  • Date: Sun, 9 Nov 2003 16:50:49 -0500

Jonathan: I believe, all you need to do is call the toString() method to get the String equivalent of the Number.

On Nov 9, 2003, at 8:05 AM, Jonathan Fleming wrote:

Is it possible to use a PK (Number type) dynamically with rawRowsForSql? As you know the SQL String argument is of a String types. Eg.

aTbCategoryList = new NSMutableArray(EOUtilities.rawRowsForSQL(ec,
"BTT", "SELECT DISTINCT dbo.TB_CATEGORY.CATEGORY_NAME FROM dbo.TB_CATEGORY INNER JOIN dbo.TB_ADMIN_USER ON dbo.TB_CLIENT.TB_ADMIN_USER_ID = " + new Integer( ((Application)application()).getTbAdminUserID())));


The code works without the PK appended, obviously, but I need to be able to dynamically enter the PK.
Any suggestions?


Regards
Jonathan :^)

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >rawRowsForSql - appending a Number to the String (From: "Jonathan Fleming" <email@hidden>)

  • Prev by Date: Re: index of WODisplayGroup.displayedObjects() array
  • Next by Date: Re: NSArray is not a NSSet. So why Apple confuse them in EOF?
  • Previous by thread: rawRowsForSql - appending a Number to the String
  • Next by thread: Deployment - OS X, Apache, WO
  • Index(es):
    • Date
    • Thread