SQL releated question: Increase field value upon query of record

Hi
upon a database query i would like the database to automtically access an integer field (kind of hit counter) in each record that was selected (is part of the result set).
For speed reasons i thought it would be great if that could be done on the database server side, so i don't have to create additional queries just do select und update a record.
I just read a bit about triggers, but not i don't see if i could use a trigger that for and have no idea how to create a trigger for that purpose (haven't found a good tutorial 'till now..).
Could this be done with triggers? How would I have to do this?
Thanks for your help
josh

Hi Avi
thanks for the explanation.
I see, triggers are not useful to do what i want. As you explain i could create a stored procedure. There procedures are just 'simple' SQl queries, right?
I guess i could do it the way you described. If i understand it right, it's very similar to creating a second query which UPDATEs the specified field (that's what i do at the moment).
One additional question if you don't mind. Is there any way to declare a kind of "evaluation code" that can be placed into a database field that would do some simple task i.e. i have two tables, in the first i have all categories and in the second i have all elements. I have the categorie id stored with the elements as primary key. Now i would like to have a database field in each categorie record that contains the actual number of all related elements. I could manualy update this field each time a realted element gets added or deleted, but it would be easier if there was some "code" i could set into that field that lets the database automatically evaluate the right value. Is that possible?
Thanks again
josh

Similar Messages

  • How to get POF object's field value from query result

    hi,all:
    I want to get field value from the query result, my code is below
    Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
    for (Iterator iter = setResults.iterator(); iter.hasNext(); )
    Contact c=(Contact)iter.next();
    System.out.println ("firstame####=" + c.getFirstName());
    * but I get error*
    Exception in thread "main" java.lang.ClassCastException: com.tangosol.util.ConverterCollec
    tions$ConverterEntrySet$ConverterEntry cannot be cast to com.oracle.handson.Contact
    at com.oracle.handson.QueryExample.printResults(QueryExample.java:159)
    at com.oracle.handson.QueryExample.query(QueryExample.java:86)
    at com.oracle.handson.QueryExample.main(QueryExample.java:43)
    who can tell me how to get POF object's field value from query result

    Hi,
    If you look at the Java Doc for the entrySet method here http://download.oracle.com/docs/cd/E15357_01/coh.360/e15725/com/tangosol/util/QueryMap.html#entrySet_com_tangosol_util_Filter_ you will see that it returns a Set of Map.Entry instances so you need to do this...
    Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
    for (Iterator iter = setResults.iterator(); iter.hasNext(); )
        Map.Entry entry = iter.next();
        Contact c=(Contact)entry.getValue();
        System.out.println ("firstame####=" + c.getFirstName());
    }JK

  • Form field values in query

    Hi,
    How to access a Form Field value [Inventory Transfer] in a query:
    Tried all these combination:
    $[http://940.18.1], $[http://$940.18.1], $[OWTR.Filler]
    What is the right format to access the field value & Is there a way to check [debug] what the values are ?
    Am using: SAP B1 2005B SP:00 PL:34
    Regards.

    First, Enable System information from the View Menu.  This will enable you to see the table name and the field name when you click on the field.
    Once you get this info, you can access it by $[[TableName.FieldName]]
    Remote the http:// that you see above
    $ [ ] are all required.
    Suda

  • How to revise form field value in query and skip validation

    Hi all,
    I have a 10g form that has a field which I want to manipulate during query. I want to display a different value depending upon its orignal value. I did this with a Post-Query trigger on the field's datablock. However, now, when I attempt a new query, the form thinks I've changed the field (which I did). I want to change the field but trick Forms into thinking there were no updates. How do I do this? Note: the field is a list item that has a style of combo box.
    Thanks, Mike

    Ammad,
    The reason is that sometimes the list returns the record group's key value (the second column) instead of the intended value (in the first column). This is because the record group is based on a SQL query. There are some values which are no longer in the table queried by the record group, thus the key value is displayed. I would rather nothing be displayed. As of now, I display a message indicating that there is a problem with the LOV.
    I know about using a non-database form field. But I don't have any room left and I don't want to lay the non-database field on top of the database field and then have to enable/disable the two fields.
    A friend at work suggested setting update_permission to trick Forms. Tried it but not successful yet.
    Thanks, Mike

  • Why do my javascript fields disappear upon query MD form?

    Hi
    I have 5 java script fields on my form and when i select query 3 of them disappear? I do not understand why because I dont manipulate them at any time other then on a on blur event on a field? Please help!

    Hi,
    Can you rephrase your question as it is not very clear when are you facing this problem .
    rahul

  • Create_portlet_definition.sql probs with UDB: field "value" too long to index

    We're trying to deploy the create_portlet_definition.sql on a UDB DB2
    6.1.
    However, we encountered some problems:
    "COLUMN_ORDER" cannot be a part of the primary key because it can contain
    null values:
    CREATE TABLE "COLUMN_INFORMATION"
    ("PORTAL_NAME" VARCHAR(100) NOT NULL,
    "CATEGORY_NAME" VARCHAR(100) NOT NULL,
    "COLUMN_WIDTH" INT,
    "COLUMN_ORDER" INT,
    PRIMARY KEY(PORTAL_NAME, CATEGORY_NAME, COLUMN_ORDER));
    "GROUP_ID" cannot be a part of the primary key because it can contain
    null values:
    CREATE TABLE "GROUP_PERSONALIZATION"
    ("PORTAL_NAME" VARCHAR(100) NOT NULL,
    "CATEGORY_NAME" VARCHAR(100) NOT NULL,
    "PORTLET_NAME" VARCHAR(100) NOT NULL,
    "GROUP_ID" VARCHAR(100),
    "AVAILABLE" INT,
    "MANDATORY" INT,
    "EDITABLE" INT,
    "MOVEABLE" INT,
    "MINIMIZEABLE" INT,
    "MAXIMIZEABLE" INT,
    "FLOATABLE" INT,
    "VISIBLE" INT,
    "X" INT,
    "Y" INT,
    "MINIMIZED" INT,
    PRIMARY KEY(PORTAL_NAME, CATEGORY_NAME, PORTLET_NAME, GROUP_ID))
    Will these two columns ever contain a null value ?
    Anders B. Jensen
    Consultant, Research & Development
    [email protected]
    LEC AS
    Denmark
    Remove the SPAMLESS to mail me.

    any value that can contain null should not be a part of the primary key ever.
    I would just change the script so that the columns are not nullable - however,
    somebody from weblogic should confirm that this is ok.
    Filip
    In article <[email protected]>,
    [email protected] says...
    >
    We're trying to deploy the create_portlet_definition.sql on a UDB DB2
    6.1.
    However, we encountered some problems:
    "COLUMN_ORDER" cannot be a part of the primary key because it can contain
    null values:
    CREATE TABLE "COLUMN_INFORMATION"
    ("PORTAL_NAME" VARCHAR(100) NOT NULL,
    "CATEGORY_NAME" VARCHAR(100) NOT NULL,
    "COLUMN_WIDTH" INT,
    "COLUMN_ORDER" INT,
    PRIMARY KEY(PORTAL_NAME, CATEGORY_NAME, COLUMN_ORDER));
    "GROUP_ID" cannot be a part of the primary key because it can contain
    null values:
    CREATE TABLE "GROUP_PERSONALIZATION"
    ("PORTAL_NAME" VARCHAR(100) NOT NULL,
    "CATEGORY_NAME" VARCHAR(100) NOT NULL,
    "PORTLET_NAME" VARCHAR(100) NOT NULL,
    "GROUP_ID" VARCHAR(100),
    "AVAILABLE" INT,
    "MANDATORY" INT,
    "EDITABLE" INT,
    "MOVEABLE" INT,
    "MINIMIZEABLE" INT,
    "MAXIMIZEABLE" INT,
    "FLOATABLE" INT,
    "VISIBLE" INT,
    "X" INT,
    "Y" INT,
    "MINIMIZED" INT,
    PRIMARY KEY(PORTAL_NAME, CATEGORY_NAME, PORTLET_NAME, GROUP_ID))
    Will these two columns ever contain a null value ?
    Anders B. Jensen
    Consultant, Research & Development
    [email protected]
    LEC AS
    Denmark
    Remove the SPAMLESS to mail me.--
    Filip Hanik
    Software Architect
    XMarkstheSpot.com
    [email protected]

  • Workflow in reply dependent on parent field values

    We have a key existing process which could be described as a member of one organization sends a work request to a different organization. The first organization has a manager assigned to this job. The second organization assigns a lead engineer to the job. These two people negotiate a target completion date. Throughout this the job moves through various workflow states. In a number of cases after the job is in progress, circumstances change that might require the target to be renegotiated. However for the sake of various metrics, the original target has to be maintained and the job cannot be moved out of the in-progress state.
    This process was implemented using the SiteScape forum product about 7 years ago. The way we dealt with this issue in forum was to have a custom reply type to revise the target date. That reply type has its own workflow which uses a workflow question to which both the manager and the lead engineer respond. Those people are designated in the parent record.
    When implementing this in Vibe, it appears that although it looks like you can designate those fields as the responders in the workflow, it does not work. I am assuming that it is because there is no way for the system to know that it is supposed to be those field values in the parent record.
    I suppose that it would be possible to re-engineer this process in some way that might be more compatible but then I would be left with over 30 thousand records of critical importance that could not be migrated to a new Vibe based system.
    What I really need is a way to tell the system that these values are on the parent record.
    Any thoughts or help doing this would be appreciated.

    gribar,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Creating an SQL Query for Project Custom Fields Values

    Hello:
    I'm currently trying to create an SQL Query to show all of the server's Project Custom Fields Values, along with the modification date.
    So far, I've managed to display correctly all of the data for all of the Projects' text value Custom Fields (those not based on a LookUp Table) with this query:
    SELECT
    MSP_PROJECTS.PROJ_NAME,
    MSP_CUSTOM_FIELDS.MD_PROP_NAME,
    MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE,
    MSP_PROJ_CUSTOM_FIELD_VALUES.TEXT_VALUE,
    MSP_PROJ_CUSTOM_FIELD_VALUES.MOD_DATE
    FROM
    MSP_PROJ_CUSTOM_FIELD_VALUES
    INNER JOIN
    MSP_CUSTOM_FIELDS
    ON MSP_CUSTOM_FIELDS.MD_PROP_UID = MSP_PROJ_CUSTOM_FIELD_VALUES.MD_PROP_UID
    INNER JOIN
    MSP_PROJECTS
    ON MSP_PROJECTS.PROJ_UID = MSP_PROJ_CUSTOM_FIELD_VALUES.PROJ_UID
    WHERE
    MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE IS NULL
    ORDER BY
    MSP_PROJ_CUSTOM_FIELD_VALUES.PROJ_UID,
    MSP_PROJ_CUSTOM_FIELD_VALUES.MD_PROP_UID
    However, when I try a new Query to obtain the actual values for the Projects Custom Fields that do use a LookUp Table, I can't seem to find what table in the model I'm supposed to link to the MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE field (the TEXT_VALUE
    field has NULL value when CODE_VALUE field isn't NULL)
    Any suggestions on how to obtain the actual Projects' custom fields values instead of the Code Value, for Metadata that do use a LookUp Table?
    Also, I'm able to run this query only in the Published Database, since the MSP_CUSTOM_FIELDS table is empy in the Draft Database. Why is that?
    Awaiting your kind reply,
    Sebastián Armas PMO Project Manager

    Hi Sebastián, rather than directly accessing the database it would be better to use the PSI to get this data.  Take a look at the ProjTool sample in the SDK whcih gets this data.
    Best regards,
    Brian.
    Blog |
    Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    Project Server TechCenter |
    Project Developer Center |
    Project Server Help | Project Product Page

  • Passing a table-field value in Crystal to a Store Procedure in SQL Server

    I have been checking all over the interenet via searches and although some seem to come close to this, its still not what I want.
    Essentially I need to pass value from Table-Field record (for each record read/selected) via a paramete to a Stored Procedure(SP) in SQL Server 2205/2008.  I do NOT want to be prompted for a value for this parameter each time the report is run, simple pass the value in which will be used along with other select criteria to bring back one value for the report to use in a calcuation per record.
    The value of the parameter is a date, but I understand it would be better to pass it in as a varchar(8) - 'YYYYMMDD' - and then reconvert it inside the SP, as follows:
    In Crystal Reports 2008 SP3, I have a formula defined as,
    trans_date = ToText ({F1ARS_STMT_WS_TRAN.TRANS_DATEI}, 'YYYYMMDD')
    and essential just want to pass this to the SP below ... i.e. trans_date  ---> @strTransDate
    I then link the key fields [EXCH_RATE_TABLE_NAME] and [TRANS_CCY_CODE] to other tables in the Database Expert, and put [EXCH_RATE_AMT] on the report and use it to calculate what I want.
    This works fine when the prompt comes up and I put in a proper date, but I don't what it to prompt, but simple pass the F1ARS_STMT_WS_TRAN.TRANS_DATEI in via the fornula/parameter and let teh SQL do the rest for each record selected..
    CREATE PROCEDURE [dbo].sp_GET_EXCH_RATE_AMT (@strTransDate varchar(8))     --use format 'YYYYMMDD' to represent the date as a string.
         -- Add the parameters for the stored procedure here
         -- @TransDate datetime = now
    AS
           declare @TransDate datetime
         set @TransDate = CONVERT(DATETIME, @strTransDate, 112)
    BEGIN
         -- SET NOCOUNT ON added to prevent extra result sets from
         -- interfering with SELECT statements.
         SET NOCOUNT ON;
        -- Insert statements for procedure here
    SELECT [EXCH_RATE_TABLE_NAME], [TRANS_CCY_CODE], [EXCH_RATE_AMT]
    FROM [F1CCY_EXCH_RATE]
    WHERE [MAJOR_CCY_CODE] = 'BBD'
    AND   [START_DATEI] =
         SELECT MAX([START_DATEI])
         FROM [F1CCY_EXCH_RATE]
         WHERE [MAJOR_CCY_CODE] = 'BBD'
         AND   [START_DATEI] <= @TransDate
    END
    GO
    GRANT EXECUTE ON sp_GET_EXCH_RATE_AMT TO PUBLIC
    GO
    Thanks for any help.  Can't tell the headache this has caused my both literally and figuratively.

    Hello,
    I moved your post to the Report Design forum. Lots of SQL help in here...
    I believe the problem is due to you using a Parameterized Stored Procedure. The first thing CR has to do is connect to your DB source which requires the date parameter before it can run the query to add the date filter, it's the SP that is prompting for the parameter. Therefore the report has not run so it can't get the field value from the report until you fill in the info for the SP. Catch 22 problem.... Which came first, the Chicken or the Parameter....
    The report will work as you have noted but I don't know of anyway to refresh unless parameter is filled in again....
    Jason has a lot of great solutions when it comes to these dilemmas, Possibly using a Command Object may help but I believe you will still run into the same issue....
    Only way I can think of is to not use a parameter in the SP and let CR do the filtering client side. Of course this means all data is coming back to the client PC as you are likely trying to find a work around for.
    Thank you
    Don

  • Multiple Value in additional fields using SAP Query

    HI All,
    I have a question related additional field in SAP Query. I tried to create report about PR and PO using SAP Query. Since one PR can be converted to multiple PO, I decided to create additional field
    po_1
    to display the value of PO that related to the PR. But I meet problem when I want to show several PO number in additional field
    po_1
    , I couldn't look the way to solve this problem. Can anybody help me? Just for info, I assign value to additional field
    po_1
    in record processing part.
    Thanks....

    HI,
    IN SQ02, IF table is already in JOIN, just click on the PLUS sign to expand the strcture.
    All the field showing Plus sign in the strcture are selected in your query and with MINUS sing are no selected.
    So you have to just click on the MINUS sign for the field you want to use through table field.
    Generate the query and execute thriugh SQ01.
    If you want to add some other field which is not a part of JOIN,
    then click on EXTRAS Button shown in the MENU option.
    Click on Create button and system will ask abt the additional field.
    Regds,
    Anil

  • SQl Server - cant compare with values in table field have nchar as datatype

    Hello all!
    I am using jtds driver to connect with SQL server. My problem is i am saving arabic text into the SQL Server. The fields which contains arabic text have the datatype nchar. I can insert the values by simply placing N before the actual arabic text which i am reading from a file.
    I mean insert into [table] values(N'some arabic text') works fine.
    But when i try to select the values from the table and want to pass some paramerts (in arabic text) in where clause it doesnt return me anything.
    e.g select * from [table] where [column(nchar type)] = N'arabic text(read from file)' return nothing. Result set is always empty.
    Queryis fine as i printed the query in seperate file and run it on Query analyzer which gives me the right results.
    Any suggestions?? Please i am dying conditions tell me any solutions immediately
    Regards,
    Alam sher

    String url = "............";
    Properties props = new Properties();
    props.put("charset","cp1256");
    Connection con = DriverManager.getConnection(url,props);now this way if i get the resultset it would return me the expected resultset:)
    To compare an arabic word against the values in result set one also has to convert it into cp1256 encoding line this.
    new String([arabic word].getBytes(), "cp1256");
    The prolem was not to print the arabic words on console basically. No doubt on console it would print ???? as it doesnot support this encoding. Originial issu was comparing a string containig the arabic text with the values returned by the result set.
    This was the solution i could figure out and its working.
    Thanks anyways.
    Regards,
    Alam Sher

  • Show or Hide fields based upon a variable value

    Hi,
    I am a rookie in the field of Acrobat. And my only question is :
    How to Circle a Form Field based upon a variable value .
    For example, If x=1, I want to circle Japan and if x=0, I want to leave it without any change.
    Please help me out. Thanks for your time and help.
    Thanks,
    Vijayvijay77.

    Hi George,
    I am pre-populating a Pdf file based upon the data submitted by the user. And I have to circle options selected in the form.
    I am writing coldfusion code to flatten, populate the form into a PDF form. The end result is the PDF generation with all the data in it.
    The data comes from the database, where I set variable values if any is selected or not.
    Thanks for your reply, I really appreciate your help.
    Vijayvijay77.

  • Report query not returning the field value from external table

    hi
    I have an issue regarding reports. I have a query having 4 fields from external table and remaining from db tables. the report query returns all the fields from the db tables and only 2 fields from external table. but the same query if I tried in plsql developer it returns all the fields values.
    Can anyone please help me in this issue.
    Thanks and Regards
    kk

    Duplicate post?
    value not displaying in report whereas it returns in plsql developer
    value not displaying in report whereas it returns in plsql developer
    Please log a SR if you do not get any reply to your thread instead of creating new one.
    Thanks,
    Hussein

  • How to Filter Lookup Field Values by Current User in Caml Query

    sharadpatil

    Hi,
    If you want to use JavaScript, we can use SPServices to achieve it.
    /* Get Current username */
    var userName = $().SPServices.SPGetCurrentUser({ fieldName: "Title" });
    /* Get Sites assigned to current user */
    var query = "<Query><Where><contains><FieldRef Name='UserName' /><Value Type='User'>" +
    userName + "</Value></contains></Where></Query>";
    More information is here:
    SharePoint – Filter Lookup Field Values by Current User
    http://ljayaprakash.wordpress.com/2012/06/01/filter-lookup-field-values-by-current-user/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Querying SQL db based off of values in a CSV and exporting filtered list to a new CSV

    Hello, we use Office365 for our student e-mail accounts and are trying to appropriately license those accounts based on if they are currently enrolled or not (currently enrolled get the full license with OneDrive, SharePoint, Lync, Office download etc. while
    non-currently enrolled get e-mail only).  I have exported a list of UserPrincipalNames from Office365 to a CSV that have a particular license applied.  I want to compare that list against a SQL view that will identify if those UserPrincipalNames
    (found under the "Email" column in the SQL database) are currently registered for classes or not (we have a "CurrentlyRegistered" column populated with a "0" for not registered and a "1" for registered"). 
    I then need to export the filtered list of UserPrincipalNames to a different CSV so that I can use that second CSV to change the license in Office365.
    For example, I export a list of accounts from Office 365 that have the e-mail only license applied to a CSV named "Exchange.csv" that has a single column of data with a header of "UserPrincipalName".  I want to compare the accounts
    in the "Exchange.csv" to our SQL view (which among other columns, has one named "Email" that matches the values of "UserPrincipalName" and a "CurrentlyRegistered" column) to see if any have changed status to being currently
    enrolled so that I can flip their license to the full license. I would know this by returning any accounts that have a "1" in the "CurrentlyRegistered" column and saving those to a CSV named "Full.csv" that would have two columns
    with headers "Email" and "CurrentlyRegistered".
    I need to know how to connect to SQL from PowerShell and return the filtered list of accounts that have changed status.  I am hoping for something like:
    $constring = "Server=MyServer\Instance;Database=StudentEmails;Trusted_Connection=True"
    $SqlConnection = New-Object System.Data.SqlClient.SqlConnection
    $SqlConnection.ConnectionString = $constring
    $SqlCommand = New-Object System.Data.SqlClient.SqlCommand
    $SqlCommand.CommandText = $query
    $SqlCommand.Connection = $SqlConnection
    $SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
    $SqlAdapter.SelectCommand = $SqlCommand
    $DataSet = New-Object System.Data.DataSet
    $SqlConnection.Open()
    $SqlAdapter.Fill($DataSet)
    $SqlConnection.Close()
    $DataSet.Tables[0]
    Remove-Item C:\O365Operations\CSVs\Full.csv
    $query = Import-Csv C:\O365Operations\CSVs\Exchange.csv | ForEach-Object {Invoke-Sqlcmd -Query "SELECT [Email],[CurrentlyRegistered] FROM [StudentEmails].[dbo].[v_StudentEmailAccounts] WHERE CurrentlyRegistered = '1'"} | Export-Csv C:\O365Operations\CSVs\Full.csv
    -Append}
    Am I anywhere close with this?
    Thanks,
    Jeremy Hawks
    Systems Administrator @ Green River College

    My CSV has a single column with a the #Type in the first line, the header of "UserPrincipalName" in the second line and the rest of the lines having a single e-mail address, similar to:
    #TYPE Selected.Microsoft.Online.Administration.User
    UserPrincipalName
    [email protected]
    [email protected]
    [email protected]
    The "Email" column in SQL will have some matching values to the "UserPrincipalName" column in the CSV. 
    So if any of the (UserPrincipalName in CSV) values match the values found in the column (Email in SQL) then I want to export those e-mail addresses to a CSV so that I can use the new CSV to change the licenses in Office 365.
    When I run your modified code I get the following:
    PS C:\Windows\system32> $csv=Import-Csv C:\O365Operations\CSVs\Test.csv
    $csv|select email
    foreach($User in $csv){
         # find user
         if($DataTable|?{$_.Email -eq $user.Email}){
             Write-Host "User found: $($user.email)" -fore green
             #Select Email,CurrentlyRegistered | Export-Csv C:\O365Operations\CSVs\IW2.csv -Append
         }else{
            Write-Host "User NOT found: $($user.email)" -fore red
    email
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    User NOT found:
    PS C:\Windows\system32>
    If I change the command from
    $csv|select email
    to
    $csv|select UserPrincipalName
    Then I get a full listing of the e-mails in the CSV with none filtered out (so it is not comparing it to the returned data from the SQL table.
    Suggestions?
    Jeremy Hawks Systems Administrator @ GRC

Maybe you are looking for

  • Trouble Opening Illustrator and Photoshop CS2??

    When opening Adobe Illustrator CS2 I receive a Windows Box showing Adobe Illustrator: Illustrator.exe - Application Error The instruction at "0x003c197d" referenced memory at "0x000000000". The memory could not be "read". Click on OK to terminate the

  • External hard drives won't mount after upgrading to Tiger 10.4.9. Help!

    Hi, I've just got the latest iMac. Very excited! I did all the software updates, connected my Western Digital extended hard drive so that I could copy some files over onto my new Mac. It was fine at first. Then when I wanted to open up the external h

  • Can not start http server

    start http server powered by apache.I got such message: '[alert]<5>...:FastCGI:CreateMUtex()failed Syntax error on line 92 of c:/oracle/ora92/sqlplus/admin/isqlplus.conf: Failed to create FastCGI application accept mutex' my isqlplus.conf: # Copyrigh

  • X freezes when launched with second GPU

    Hey fellow Archers! I've got a workstation with an AMD FirePro V4900 card that has been running fine with catalyst-test from the AUR for months now. For my current project, I am doing some heavy-duty OpenCL computation, and thus decided to buy the be

  • Acrobat 9 tries to open all .zip files

    Acrobat 9 tries to open all zip files I attempt to download - not just zipped PDF's. Under folder management, the zip file type is not associated with Acrobat and is not showing with a PDF icon. The zip file will not open in any unzipping program, it