$ dollar  sign in variable

Hi guys,
I am looking for dynamic SQL and I found like this in some variables:
.... WHERE
     empid = LN$Id
or :
LC$total ....
can some one explain to me what the ( $ )dollar sign do in variable and do you have some examples and what the purpose of using it.
thanks a lot
Youcef

Hi Laurent,
no i am not using unix, but look to this function example:
FUNCTION Compte_rec
PC$Table IN VARCHAR2,
PC$ClauseWhere IN VARCHAR2
) RETURN PLS_INTEGER
IS
LC$Request VARCHAR2(512) ;
LN$Total PLS_INTEGER ;
BEGIN
LC$Request := ‘Select count(*) From ‘ || PC$Table || ‘ where ‘ || PC$ClauseWhere ;
EXECUTE IMMEDIATE LC$Request INTO LN$Total ;
return LN$Total ;
END ;
so why the author is using PC$Table and not just PCTable!
or : LC$Request instead LCrequest
so what is the purpose of using $ sign in the variable
thanks a lot

Similar Messages

  • Significance of dollar $ sign in declaring variable.

    Hi Guys,
    Can somebody tell the significance of $ dollar sign in declaring a variable. I am reading a Z program and it has many variables starting with $ sign.
    Example
    DATA: $l-w LIKE t77aw-wegid.
    Thanks,
    mini

    hi,
    I don't think it has any significance we can include $ in our declaration of a variable as how we include '_' ...Check out the below sample code
    data: $l_w like t77aw-wegid.
    $l_w = '12434'.
    write : $l_w.
    Regards,
    Santosh

  • Why do some computers join OD and have a dollar sign ($) appended to the name?

    This question has been asked before here a few times with nobody being able to really definitively answer it (see: 2027636, 5979187, and 11144245).  It has been a couple of years and versions of OS X server and I am running into this same issue.  I am working on building an image to deploy Mavericks to our office computers and have been working on a script to set the hostname and join it to OD.  As a result I've been joining and unjoining this computer to our local OD server in an attempt to get the script working.  In the course of my troubleshooting, I've noticed that a number of computers in our domain have a $ appended to the name.  In fact, when I join my computer "office-test" it shows up in both workgroup manager and directory utility as 'workgroup-test$'.  If I remove the dollar sign from the end of the name in workgroup manager, the light next to the network server name goes from green to red on the client (in System Preferences -> Users & Groups -> Login Options).  The reason this has been an issue for me is that the script attempts to populate some attributes and make the computer join groups on the server (so it can get the proper MCX settings), but since my script is using 'office-test' as the computer name and not 'office-test$', it is failing.  We do have other computers with the $ appended (mostly windows machines).  We also have hosts that don't have the $.  Does anyone know why this happens and how to prevent/correct/change it?
    This is what I'm trying to do:
    #set variables
    odserver=SERVER
    odbindacct=ACCOUNT
    odbindpass=PASS
    computername=office-test
    computerGroup=officegroup
    #set hostname
    scutil --set ComputerName ${computername}
    scutil --set LocalHostName ${computername}
    scutil --set HostName ${computername}.DOMAIN.TLD
    #join OD
    dsconfigldap -v -N -f -a ${odserver} -n ${odserver} -c ${computername} -u ${odbindacct -p ${odbindpass} -e
    #update attributes
    dscl -u ${odbindacct} -P ${odbindpass} /LDAPv3/${odserver} -merge /Computers/${computername} RealName ${computername}
    #get GUID
    GUID="$(/usr/bin/dscl -u ${odaccount} -p ${odpass} /LDAPv3/${odserver} -read /Computers/${computername} GeneratedUID | awk '{ print $2 }')"
    # Add to computergroup/list
    dscl -u "${odbindacct}" -P "${odbindpass}" /LDAPv3/${odserver} -merge /ComputerGroups/${computerGroup} GroupMembership ${computername}
    dscl -u "${odbindacct}" -P "${odbindpass}" /LDAPv3/${odserver} -merge /ComputerGroups/${computerGroup} GroupMembers "${GUID}"
    dscl -u "${odbindacct}" -P "${odbindpass}" /LDAPv3/${odserver} -merge /ComputerGroups/${computerGroup} Member ${computerid}
    dscl -u "${odbindacct}" -P "${odbindpass}" /LDAPv3/${odserver} -merge /ComputerLists/${computerGroup} Computers ${computername}
    In Directory Utility, I do see the following attributes/values set
    AppleMetaRecordName (cn=office-test$,cn=computers,dc=[HOST],dc=[DOMAIN],dc=[TLD])
    AuthenticationAuthority array ((;ApplePasswordServer;[HEX DATA]) (;Kerberosv5;;office-test$@[HOST].[DOMAIN].[TLD];[HOST].[DOMAIN].[TLD];))
    RealName: (office-test$)
    RecordName (office-test$)
    ENetAddress ([MAC ADDRESS])
    GeneratedUID ([UID])
    HardwareUUID ([UUID])

    I have observed the same issue on some 10.8.5 servers with 10.8.5 clients
    This behavior happens when authenticated bind have been enabled on server.
    Once authenticated, binded computers receive a ComputerName change during boot which append the dollar sign as appears in workgroup manager on server
    System logs on clients computers shows
    UserEventAgent receiving the $ name from _workstation._tcp.local (Workgroup Manager https://developer.apple.com/library/mac/qa/qa1312/_index.html)
    and mDNSResponder updating/enforcing Computer Name accordingly.
    Moreover, a binded computer will typically have « System Preferences ->> Sharing ->> Computer Name » option geyed out
    The workaround i found:
    1) moved  macosxodpolicy back from « authenticated bind required » to « enabled » and remove the $ sign from the end of each Computer name in workgroup manager.
    This allows to keep reliables computers names for mcx administration on workgroup manager but
    on the other hand, as you pointed out, this will also block network users on client computers.
    so on clients computers:
    2) Unbinded to clean the authentication entry and performed a simple bind —> without authenticated binding ( -f option) and admin/privileged network user (-l -u options)

  • Add a dollar sign in the output of a field.

    How do I add a dollar sign to a dynamic money field? I am not allowed to leave a space between the dollar sign and the money amount. My data contains 200.00 or 1000.00 and I need a dollar sign in front of any amount.

    Hi,
    there are a few ways that you can achieve this...
    if you are using the transformation agent to transform your data you can add it in the tdf...
    eg
    ^field price
    $@price
    not using tranformatio agent ? then in output
    you can also do it in the form by using the format event...
    In the properties of the field click the full format option and add the following...
    $@(Ltrim ("@_$_."))
    the @_$_. contains the current value of the field so this expression will left trim the field to make sure there are no spaces and then add the dollar symbol to it before inserting it onto the form.
    Syntax is very important when using events and preambles..
    the above is:
    dollar at openbracket Ltrim space openbracket openquote at underscore dollar underscore dot closequote closebracket closebracket.
    You can also use text substitution.
    To do this you need to make the variable global before you can use it...
    so... move your price field out of the way and in its properties make it global. (change it to noprint font to hide it)...
    Now when the field is filled, it will be saved in the global variable library and can be used again...
    Now create a text field and type in it $@price.       (assuming that your field was called price, the new variable is called price...)
    now in the text properties box of your new text click the text substitution field box...and that it...
    You can use your new variable as many times as you like on the page.

  • Using the Dollar($) Sign in a User Function Implementation

    Hi All,
    Just a quick question: how could you use a dollar($) sign in the implementation (Oracle) of a user function? I'm asking because the table name that I'm using in the implementation happens to contain the dollar sign (I$_FACT_SALES) and from the results I'm getting now, ODI reads the $ as reference to a variable, therefore removing the $-sign from my table name upon execution (I_FACT_SALES). Is there something like a backslash or some other character that could be inserted before the $ so it would register as part of the table name?
    Any response would be greatly appreciated.
    Thanks very much,
    Marco

    You may have 3 options:
    1.) Try using the tablename in quotes "MY$TABLE" or may be MY$$TABLE using double $ symbol
    or
    2.) I found this code snippet : odiRef.getInfo( \\u0022DEST_WORK_SCHEMA\\u0022 )+\\u0022.\\u0022,\\u0022\\u0022)?. So on these lines you can use \\u0022 as a symbol for "
    You can see similar problem/solution/explanation in
    Re: Regular Expression wierdness - problem with $ character
    or
    3.) Change the Work Tables Prefix in Topology Manager > Physical Schema > Your_Schema
    from E$_ , C$_ , I$_ to something like ERR_ , SRC_ , INT_
    Edited by: Ace2 on Dec 2, 2009 9:57 AM

  • Ignore dollar sign in table name during db read UCCX

    Hi People,
    Does anyone know how to ignore the dollar sign in a table name during a db read operation. I performed a db read with the statement 'Select * from [CIC$Table]' but i get the error message 'Sql statement variable not defined: Table]'.
    Any help would be appreciated. Thanks.

    Thanks for your reply.
    I already created a view (CIC_Table) and i could successfully read the database. However, when i try to perform a db get operation using the  database view table and map fields to variables, the fields on the db get disappear as soon as i save.
    Tola

  • GREP search for \$ Dollar sign doesn't find them all?

    Hello,
    OK-I was practicing my GREP yesterday and was working with escaping out characters. Since the $ could not be found, I assumed it needed to be escaped out \$. The odd thing is, when I say find next, it skips many of them in the document?
    Anyone know why?
    thanks!
    babs

    This has been reported before; it's an oddity of ID's implementation of GREP. Nobody knows why! (*)
    It only works reliably when you do not use the escape code \$ (you were, in fact, correct to try that first!), but instead use the Unicode notation for a dollar sign: \x{0024}.
    I've noticed some strange GREP-related behavior myself: at times, it seems "Find Next" can skip a *huge* quantity of text and finds something near the end of the file; but a next "Find Next" mysteriously jumps back to the previous find position, and continues from there as if nothing happened.
    (*) I'm pretty sure it's the Adobe engineers that are responsible for this. According to Peter Kahrel, Adobe didn't write the GREP module by themselves but chose to use a free programming library called "boost". Now boost is an extremely thorough piece of work that has gone through literally years of development and dozens, if not hundreds of programmers (probably unpaid as well, since boost is open source), and I cannot imagine something like this to slip through unnoticed.
    But ... for InDesign, the Adobe programmers had to add code to cater for InDesign's own special characters and codes -- stuff like the special characters and spaces, and text variables. It's not hard to imagine a programmer accidentally changing a line of code that did the, erm, "now search for \$" stuff.

  • Displaying Dollar sign in ALV

    How to add the dollar sign infront of field with data type currency (CURR) ?
    Need to display the amount field in the ALV report.
    Please suggest any solution.
    Thanks,
    Khush
    Edited by: khush123 on Sep 22, 2011 11:49 AM

    Hi ,
    Take  another  character field  .
    Concatenate  currency field value  and  '$' and move to character field  and display  .
    This is Simple  way  .
    regards
    Deepak.

  • I am trying to fill in a form in adobe exportpdf. How can I fill in numbers and symbols? Parenthesis, dollar sign etc.

    I am trying to fill in a form in adobe exportpdf. How can I fill in numbers and symbols? Parenthesis, dollar sign etc.

    Hi;
    Can you provide a little more detail, maybe a screenshot?  ExportPDF only converts PDFs to other file types, what exactly are you using to try to fill out the form?  The two Adobe form filling tools I would recommend would be:
    1) Adobe Reader - a free download you can install on your computer and can be used to fill out most any form.  For numbers, symbols etc it can depend on the field you are entering data into, some fields have restrictions, but you would use those keys on your keyboard, if nothing is entered then that field probably has restrictions.
    2) Adobe Fill & Sign: https://cloud.acrobat.com/fillsign - using the Fill & Sign tab on the acrobat.com website you can fill out most PDFs.  To enter numbers, symbols, etc you would simply add them using your keyboard.
    Thanks,
    Josh

  • How to add comma and dollar sign that places automatically in input text field

    I have this ROI calculator which has several text input field
    on frame one with calculate and reset buttons. When a user enters
    numerical values in the text field, and jumping to the next field,
    I want the input text filed be updated with dollar sign and with
    comma.
    Next when they hit "ENTER" key or click "Calculate ROI"
    button, all the input text fields on frame 2 as a result of
    calculations be updated with dollar sign and comma. I also need
    that once the comma sign is assigned then it would not add any more
    even if user presses the button. Can someone help me in
    this?

    If you want to Set the Comma when you Switch to next Text
    Field
    Use onKillFocus / onSetFocus Functions.
    to restrict multiple comma, Before Adding comma use
    myText.text =
    myText.text.split(",").join("").split("$").join("");
    So this will give you the value without Comma and Dollar
    symbol, Now add the Comma and dollar.
    or you need to use a Flag for onChange Event.

  • Elementary: what is the dollar-sign ($) in a column name mean?

    I periodically see dollar signs in column names in Oracle tables. For example, when I create a LOB, often times the LOB segment will end in a dollar-sign (or two). Sometimes when one of the developers creates an object, I see some of the field namess have dollar-signs at the end of them.
    What does the dollar-sign mean?
    What does two dollar-signs mean?
    Just curious...they seem to function as normal characters.

    They are just normal characters. But Oracle (and other vendors) will frequently use characters like $ that normal developers don't normally use in order to create conventions around table names.
    For example, Oracle provides a number of data dictionary tables that use x$, v$, and gv$ as prefixes. There is nothing inherently special about those prefixes. But they convey meaningful information to the users of those systems (x$ views are undocumented views, v$ views provide information about activity on the local instance, gv$ views provide information about activity on all the instances of a RAC cluster). And using those sorts of prefixes prevents confusion between application tables and Oracle tables. Lots of applications, for example, have a SESSION table. Having the V$ prefix for the Oracle-delivered V$SESSION table makes it easy to avoid confusion from having two identically named tables.
    Justin

  • RETURN/ENTER and SHIFT keys no longer work, and my number keys only work as numbers - no longer do they serve as exclamation points or dollar signs etc.

    After downloading OS X Yosemite my RETURN/ENTER and SHIFT keys no longer work, and my number keys only work as numbers - no longer do they serve as exclamation points or dollar signs etc. PLEASE HELP

    Does this bad behavior persist when logging in as a different user, e.g., Guest?  Does it persist when starting up in Safe Mode?

  • 10.7 Lion Spotlight doesn't search for dollar sign ($) anymore?

    Ok, I just upgraded my work laptop to Lion 10.7.2 and I'm having serious issues with spotlight and finder.  It seems you can no longer use the dollar sign ($) as a search operator?!?!
    I'm a Fujitsu ScanSnap scanner user and have very few paper documents.  This includes scanning all of my receipts and naming them with the total at the end.
    So if I had a receipt that was for $5.35, the end of the filename would include "... $5.35".
    If I try to find the file via spotlight and search for "$5.35" nothing comes up...
    If I search for "5.35", the receipt comes up.
    Euros (€) searches correctly, but not the dollar sign...
    What is going on here?  This is seriously hampering my productivity and saved searches!
    Anytone else having this issue?  Google didn't seem to turn up any results and I can't be the only one seeing this behavior!?

    Steven,
    I haven't been able to solve it in Spotlight, but I did come across an application that does index and search properly.  It's called "Found".
    You can download it from the Mac App Store.
    https://www.foundapp.com/

  • Dollar sign in report column

    Hi
    I am displaying a report using an sql query. I want to display a numeric field (which is an amount) with a dollar sign. How can i do that
    Appreciate your help
    Thanks

    Hi user585397,
    go to the column properties of your report and there you will find a property called "Number / Date Format". Use the lov to choose a predefined format mask or just enter.
    FML999G999G999G999G990D00The L is the placeholder for the current currency symbol. For more format mask example have a look at the Oracle documentation at http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements004.htm#i34570
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Spanish Question Marks and Dollar signs

    Every time one of my friends (using a Razr on ATT) sends me a sms with a dollar sign it shows up as an upside down question mark.
    My settings are for English, US (as delivered by ATT).
    What's up with that? Anyone else seeing this?

    I haven't had that specific problem, but when I send an n with the (nyay?) Spanish accent mark, it shows up weird on some of my friends' non-iPhones.

Maybe you are looking for

  • HP OfficeJet Pro 8500A and Google Calendar

    The Google Calendar application for my HP OfficeJet Pro 8500A always prints the calendar offset by one day; i.e. Sunday's events are listed on Monday, Tuesday's events on Wednesday, etc.  All settings are fine, otherwise, prints like a champ on every

  • Can we make advance payments and issue a new PO for undelivered goods?

    Hi Experts, Can we make advance payments and issue a new PO for undelivered goods? Regards, R

  • Incoming email replaces content with contents from old email already in inb

    This morning for no apparent reason, incoming email has its content replaced with the entire content from seemingly random emails received months ago. It also replies the sender email to that attached to the old content. What could be happening here?

  • Reg : SQL Trace and ECAT

    Hi Floks , Any body knowing The SQL trace analysis and Ecat tool .send me how to work on this issues .Please send me with snap shot it's will help to who don't know how to utilize this tools. thanks, suresh

  • Good book about Linux?

    Hi, I've been using Linux for 5 years or so, always using a graphical desktop. I know many commands, like ls, sudo, mv, pacman, etc... I can work with Linux terminal fine when having a graphical browser open that can help me out here and there with w