Run SQL with help link

I have tables T1 & T2
I created Region Reg_1 with report of T1 and Reg_2 with report of T2.
I need the report T1 to have a column link which when clicking on it
will put the data of the corresponding line into T2 and refresh this page.
The question is how to run SQL command "insert" with help of column link.

Hi Nicname,
I think what you need to do is to provide a link to a page that creates the record in T2 and returns automatically to your original page.
Whilst I haven't done this for reports yet, I have done it on a calendar. Have a look at the following thread to see if this is the sort of thing you want to do:
Re: Multi-select in Date-picker.
Regards
Andy

Similar Messages

  • Problem with Help Link in search result screen of PCUI

    Hi,
      I am trying to access the pcui applications that came out of box with crm using BAB,everthing is working fine but got a problem with "Help" link in top right (beside personalize link) the search result area of all the PCUI screens.
    when i click on that i get "page cannot be displayed" error, seems that it is pointing to some wrong URL, where should i change the url to point to our company's help site for that link..
    clicking on the properties of that link shows that it is pointing to
    javascript:CATshowF1(%20'/sap/bc/bsp/sap/crm_bsp_f1_help/f1help.do?doctype=kw&loio=70B4ED8E03595645A6ABA33B4576BB57&class=IWB_EXTHLP&language=E' );
    Please help me in this regard.
    Thank you

    My response help resolve Kodru's Message which he also posted in EP Implementation Forum. He resolved it by changing the variant noted below.
    The link http://help.sap.com/saphelp_crm40/helpdata/EN/70/B4ED8E03595645A6ABA33B4576BB57/content.htm should display Activity Info.
    First I would check if the crm_bsp_f1_help service has been activated in SICF.
    Secondly I would check the settings in the IMG -> SAP WAS -> Know. Mgt. -> Settings in App. Sys. -> Usage of Help Type "Dynamic Help". The Tab PlainHtmlHttp should have a variant called CRM_HELP, Server Name (help.sap.com) and path.

  • Strange issue when running sql with false condition

    Hi,
    I'm running this query from the application:
    select 22
    from DUAL
    where ( to_number(0) <> 0 ) and exists (
    select 'X'
    from TABULA.macdent$FNCITEMS
    where ( macdent$FNCITEMS.QIV = to_number(0) ) );
    And it takes a long time because it is checking the second condition.
    Even though the first one is False.
    When running it through sqlplus it takes nothing. and of course no rows returns.
    The 0 in to_number is a bind variable
    it looks like this:
    select :intvar
    from DUAL
    where ( to_number(:QIV$) <> 0 ) and exists ( select 'X'
    from TABULA.macdent$FNCITEMS
    where ( macdent$FNCITEMS.QIV = to_number(:QIV$) ) )
    1 - filter predicate: ( IS NOT NULL AND 0<>TO_NUMBER(TO_CHAR(:QIV$)))
    But in sqlplus the filter predicates is different.
    1 - filter(NULL IS NOT NULL AND EXISTS (SELECT 0 FROM "TABULA"."MACDENT$FNCITEMS" "MACDENT$FNCITEMS" WHERE
    SQL> select 22
    from DUAL
    where ( to_number(0) <> 0 ) and exists (
    select 'X'
    from TABULA.macdent$FNCITEMS
    where ( macdent$FNCITEMS.QIV = to_number(0) ) );
    2 3 4 5 6
    no rows selected
    Elapsed: 00:00:00.00
    Execution Plan
    Plan hash value: 883410849
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
    Time | TQ |IN-OUT| PQ Distrib |
    | 0 | SELECT STATEMENT | | 1 | | 0 (0)| | | | |
    |* 1 | FILTER | | | | | | | | |
    | 2 | FAST DUAL | | 1 | | 2 (0)|00:00:01 | | | |
    | 3 | PX COORDINATOR | | | | | | | | |
    | 4 | PX SEND QC (RANDOM)| :TQ10000 | 63M| 782M| 2 (0)|00:00:01 | Q1,00 | P->S | QC (RAND) |
    | 5 | PX BLOCK ITERATOR | | 63M| 782M| 2 (0)|00:00:01 | Q1,00 | PCWC | |
    |* 6 | TABLE ACCESS FULL| MACDENT$FNCITEMS | 63M| 782M| 2 (0)|00:00:01 | Q1,00 | PCWP | |
    Predicate Information (identified by operation id):
    1 - filter(NULL IS NOT NULL AND EXISTS (SELECT 0 FROM "TABULA"."MACDENT$FNCITEMS" "MACDENT$FNCITEMS" WHERE
    "MACDENT$FNCITEMS"."QIV"=0))
    6 - filter("MACDENT$FNCITEMS"."QIV"=0)
    ANY SUGGESTIONS?
    Thanks,

    912294 wrote:
    Hi,
    I'm running this query from the application:
    select 22
    from DUAL
    where ( to_number(0) <> 0 ) and exists (
    select 'X'
    from TABULA.macdent$FNCITEMS
    where ( macdent$FNCITEMS.QIV = to_number(0) ) );
    Why are you using "to_number(0)"? the zero is already seen by oracle as a number.
    The to_number function expects to get a character string as the argument: to_number('0')
    See the difference?
    As you currently have it coded, you are forcing oracle to do an implicit conversion of the number zero to the character string '0' in order to pass it to to_number to convert it back to the number zero.
    And what is the point of "where to_number(0) <> 0"
    When would that EVER be true?
    And it takes a long time because it is checking the second condition.
    Even though the first one is False.
    When running it through sqlplus it takes nothing. and of course no rows returns.
    The 0 in to_number is a bind variable
    it looks like this:
    select :intvar
    from DUAL
    where ( to_number(:QIV$) <> 0 ) and exists ( select 'X'
    from TABULA.macdent$FNCITEMS
    where ( macdent$FNCITEMS.QIV = to_number(:QIV$) ) )
    So the query you showed at the top is not the query we are really dealing with. What is the data type of QIV$? At least now we know that comparison to zero is not a fixed value.
    1 - filter predicate: ( IS NOT NULL AND 0<>TO_NUMBER(TO_CHAR(:QIV$)))
    This suggests QIV$ is already a number, else why would you pass it to to_char? And as I said above, if it is already a number, why pass it to to_number? Here you appear to be explicitly doing what I described oracle as implicitly doing in your first query above.
    But in sqlplus the filter predicates is different.
    1 - filter(NULL IS NOT NULL AND EXISTS (SELECT 0 FROM "TABULA"."MACDENT$FNCITEMS" "MACDENT$FNCITEMS" WHERE
    SQL> select 22
    from DUAL
    where ( to_number(0) <> 0 ) and exists (
    select 'X'
    from TABULA.macdent$FNCITEMS
    where ( macdent$FNCITEMS.QIV = to_number(0) ) );
    2 3 4 5 6
    no rows selected
    Elapsed: 00:00:00.00
    Execution Plan
    Plan hash value: 883410849
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
    Time | TQ |IN-OUT| PQ Distrib |
    | 0 | SELECT STATEMENT | | 1 | | 0 (0)| | | | |
    |* 1 | FILTER | | | | | | | | |
    | 2 | FAST DUAL | | 1 | | 2 (0)|00:00:01 | | | |
    | 3 | PX COORDINATOR | | | | | | | | |
    | 4 | PX SEND QC (RANDOM)| :TQ10000 | 63M| 782M| 2 (0)|00:00:01 | Q1,00 | P->S | QC (RAND) |
    | 5 | PX BLOCK ITERATOR | | 63M| 782M| 2 (0)|00:00:01 | Q1,00 | PCWC | |
    |* 6 | TABLE ACCESS FULL| MACDENT$FNCITEMS | 63M| 782M| 2 (0)|00:00:01 | Q1,00 | PCWP | |
    Predicate Information (identified by operation id):
    1 - filter(NULL IS NOT NULL AND EXISTS (SELECT 0 FROM "TABULA"."MACDENT$FNCITEMS" "MACDENT$FNCITEMS" WHERE
    "MACDENT$FNCITEMS"."QIV"=0))
    6 - filter("MACDENT$FNCITEMS"."QIV"=0)
    ANY SUGGESTIONS?
    Thanks,

  • Help Needed with DB Links

    I have two databases connected ORACLE7 and ORACLE8
    I have a SQL query that was working properly.
    select vtweg,vtext from sapr3.tvtwt@tst
    where mandt='010'
    and spras='E'
    order by vtext;
    Gives me an error
    ERROR at line 1:
    ORA-02085: database link TST.WORLD connects to PRD.WORLD
    Where as if i replace tst with prd it works fine
    select vtweg,vtext from sapr3.tvtwt@prd
    where mandt='010'
    and spras='E'
    order by vtext;
    Now i am stuck up with this error.I am sure that it is the problem with DB links could someone help me fix this.
    when i run the following queries on Oracle 7 i get the output as mentioned below.
    select global_name from global_name:
    output:SARN.WORLD
    select * from dba_db_links;
    output:
    OWNER DB_LINK USERNAME HOST CREATED
    PUBLIC DEV.WORLD SAPR3 DEV.WORLD 01-APR-08
    PUBLIC     PRD.WORLD SAPR3 PRD.WORLD 01-APR-08
    PUBLIC SBX.WORLD SAPR3 SBX.WORLD 01-APR-08
    PUBLIC TST.WORLD SAPR3 TST.WORLD 01-APR-08
    HOWARD DEV.WORLD SAPR3 dev.world 14-MAR-02
    HOWARD PRD.WORLD SAPR3 PRD.world 23-AUG-00
    HOWARD SAPTST.WORLD SAPR3 saptst.world 24-FEB-05
    HOWARD SBX.WORLD SAPR3 sapdev.world 02-MAY-02
    HOWARD TST.WORLD SAPR3 tst.world 24-FEB-05
    GOVTPROPERTY PRD.WORLD SAPR3 PRD.world 29-AUG-00
    ARQUERY PRD.WORLD SAPR3 prd.world 07-MAR-01
    I even tried deleting and recreating the links.Still does not work.I would be glad if someone could help me out.
    Thanks

    $ oerr ora 2085
    02085, 00000, "database link %s connects to %s"
    // *Cause: a database link connected to a database with a different name.
    //  The connection is rejected.
    // *Action: create a database link with the same name as the database it
    //  connects to, or set global_names=false.
    $

  • How to resolve most of the Oracle SQL , PL/SQL Performance issues with help of quick Checklist/guidelines ?

    Please go thru below important checklist/guidelines to identify issue in any Perforamnce issue and resolution in no time.
    Checklist for Quick Performance  problem Resolution
    ·         get trace, code and other information for given PE case
              - Latest Code from Production env
              - Trace (sql queries, statistics, row source operations with row count, explain plan, all wait events)
              - Program parameters & their frequently used values
              - Run Frequency of the program
              - existing Run-time/response time in Production
              - Business Purpose
    ·         Identify most time consuming SQL taking more than 60 % of program time using Trace & Code analysis
    ·         Check all mandatory parameters/bind variables are directly mapped to index columns of large transaction tables without any functions
    ·         Identify most time consuming operation(s) using Row Source Operation section
    ·         Study program parameter input directly mapped to SQL
    ·         Identify all Input bind parameters being used to SQL
    ·         Is SQL query returning large records for given inputs
    ·         what are the large tables and their respective columns being used to mapped with input parameters
    ·         which operation is scanning highest number of records in Row Source operation/Explain Plan
    ·         Is Oracle Cost Based Optimizer using right Driving table for given SQL ?
    ·         Check the time consuming index on large table and measure Index Selectivity
    ·         Study Where clause for input parameters mapped to tables and their columns to find the correct/optimal usage of index
    ·         Is correct index being used for all large tables?
    ·         Is there any Full Table Scan on Large tables ?
    ·         Is there any unwanted Table being used in SQL ?
    ·         Evaluate Join condition on Large tables and their columns
    ·         Is FTS on large table b'cos of usage of non index columns
    ·         Is there any implicit or explicit conversion causing index not getting used ?
    ·         Statistics of all large tables are upto date ?
    Quick Resolution tips
    1) Use Bulk Processing feature BULK COLLECT with LIMIT and FOR ALL for DML instead of row by row processing
    2) Use Data Caching Technique/Options to cache static data
    3) Use Pipe Line Table Functions whenever possible
    4) Use Global Temporary Table, Materialized view to process complex records
    5) Try avoiding multiple network trips for every row between two database using dblink, Use Global temporary table or set operator to reduce network trip
    6) Use EXTERNAL Table to build interface rather then creating custom table and program to Load and validate the data
    7) Understand Oracle's Cost based Optimizer and Tune most expensive SQL queries with help of Explain plan
    8) Follow Oracle PL/SQL Best Practices
    9) Review tables and their indexes being used in the SQL queries and avoid unnecessary Table scanning
    10) Avoid costly Full Table Scan on Big Transaction tables with Huge data volume,
    11) Use appropriate filtration condition on index columns of seeded Oracle tables directly mapped to program parameters
    12) Review Join condition on existing query explain plan
    13) Use Oracle hint to guide Oracle Cost based optimizer to choose best plan for your custom queries
    14) Avoid applying SQL functions on index columns
    15) Use appropriate hint to guide Oracle CBO to choose best plan to reduce response time
    Thanks
    Praful

    I understand you were trying to post something helpful to people, but sorry, this list is appalling.
    1) Use Bulk Processing feature BULK COLLECT with LIMIT and FOR ALL for DML instead of row by row processing
    No, use pure SQL.
    2) Use Data Caching Technique/Options to cache static data
    No, use pure SQL, and the database and operating system will handle caching.
    3) Use Pipe Line Table Functions whenever possible
    No, use pure SQL
    4) Use Global Temporary Table, Materialized view to process complex records
    No, use pure SQL
    5) Try avoiding multiple network trips for every row between two database using dblink, Use Global temporary table or set operator to reduce network trip
    No, use pure SQL
    6) Use EXTERNAL Table to build interface rather then creating custom table and program to Load and validate the data
    Makes no sense.
    7) Understand Oracle's Cost based Optimizer and Tune most expensive SQL queries with help of Explain plan
    What about using the execution trace?
    8) Follow Oracle PL/SQL Best Practices
    Which are?
    9) Review tables and their indexes being used in the SQL queries and avoid unnecessary Table scanning
    You mean design your database and queries properly?  And table scanning is not always bad.
    10) Avoid costly Full Table Scan on Big Transaction tables with Huge data volume,
    It depends if that is necessary or not.
    11) Use appropriate filtration condition on index columns of seeded Oracle tables directly mapped to program parameters
    No, consider that too many indexes can have an impact on overall performance and can prevent the CBO from picking the best plan.  There's far more to creating indexes than just picking every column that people are likely to search on; you have to consider the cardinality and selectivity of data, as well as the volumes of data being searched and the most common search requirements.
    12) Review Join condition on existing query explain plan
    Well, if you don't have your join conditions right then your query won't work, so that's obvious.
    13) Use Oracle hint to guide Oracle Cost based optimizer to choose best plan for your custom queries
    No.  Oracle recommends you do not use hints for query optimization (it says so in the documentation).  Only certain hints such as APPEND etc. which are more related to certain operations such as inserting data etc. are acceptable in general.  Oracle recommends you use the query optimization tools to help optimize your queries rather than use hints.
    14) Avoid applying SQL functions on index columns
    Why?  If there's a need for a function based index, then it should be used.
    15) Use appropriate hint to guide Oracle CBO to choose best plan to reduce response time
    See 13.
    In short, there are no silver bullets for dealing with performance.  Each situation is different and needs to be evaluated on its own merits.

  • Running sql scripts.....HELP

    I have a Java program that I am running and I am connecting to the database. Normally, I have scripts that I run from a command prompt for Oracle such as @create_ddl_wt. I want to run these from my program but I don't know if it is possible to call these scripts. Is there any way possible to accomplish this programatically? Any help would be great. Thanks.

    Basically no.
    The scripts that you run are processed by sqlplus - it is specific to that app. And jdbc does not connect to sqlplus.
    You can of course call one of the java exec() methods and excute sqlplus with the script.
    Alternatively if you do NOT have sqlplus specific code in the scripts then there are ways to dynamically run strings (with SQL code in them) in Oracle. As I recall you use one of the library functions.

  • SERIOUS PROBLEM Synching Palm Pre Plus (Verizon) with Companion Link OS USB -- NEED HELP!!

    I am having serious problems with Companion Link OS USB synching with Palm Desktop 4.2 via USB on my Verizon Palm Pre.
    The Verizon phone is my second Palm Pre.  (The original Palm Pre which came from Germany worked perfectly with Companion Link).
    The Verizon Palm Pre is a Palm Pre Plus.
    As noted I utilize Palm Desktop software Version 4.2.0 on my computer.
    I started out with Companion Link software Version 3.0 Build 3096  -- and have worked my way up to Version 4.0 Build 4008 over the last few months, and have spend hundreds of hours trying to solve the synchronization issue described in detail below.
    The Companion Link software is configured to ONLY synch one way
    FROM my Palm Desktop on my computer to the phone via USB
    (I don’t want to put my contacts and calendar on the web, NOR do I like the way Google contacts works, even if I DID want to). 
    When I synch the Palm Desktop to the Palm Pre the following occurs:
    The Calendar synchs fine.
    The contacts do NOT synch properly. 
    I have 1,500+ contacts in my Palm Desktop. 
    For some inexplicable reason, during the synch process the approximately 1,200+ of my contacts are compiled under ONE contact listing (John Davis). The icon by the contact shows that TWO contacts are linked under John Davis, however when I click on the icon to see who is linked under John Davis, NO contacts appear.  But I have the option to link additional contacts under John Davis if desired (AS IF!!).
    So, 1,200 of my contacts do NOT appear in the contact list.  If I want to call my husband, and type in Bruce, NOTHING comes up.  BUT if I type in his phone number, the listing for John Davis comes up and shows me all the numbers that legitimately belong to my husband.  Ditto my friend Susan, etc for the other 1,200 contacts buried under the contact listing for John Davis on the phone.
    SO, if any of these 1,200+ people, call me or text message me, my phone tells me I have a call or a text from John Davis.
    I cannot look up my contacts to call them or text them because the contacts do not actually APPEAR under John Davis (If the phone were just linking them and SHOWED them, I could manually de-link them).
    FURTHER, when I get a text message from anyone who is compiled under John Davis, the text message is truncated.  I can see the notification that I got a text message from John Davis, and I can see the first few words in the notification area, but if I open the text message, it appears to be blank (this only happens after synching Companion Link – before linking Companion Link all text messages are fine.  AND, if I get a text message from one of the 300 or so contacts that actually synch into my phone correctly, the text messages are perfectly fine and work normally.
    I have worked with BOTH the Companion Link technical support people AND the Palm technical support people extensively in an effort to solve this problem.
    I have done Full Secure Erases and started over trying to get the phone to synch more than 35 times at this point. 
    I have tried synching from different computers
    I have had Palm replace the phone TWICE (so this is actually my third Verizon Palm Pre Plus).
    I have run Web OS Doctor
    Nothing helps.
    Every time the phone does exactly the same thing described above.
                When I synch the phone it tells me:
                Web OS:     Added             1543/1543    Contacts to the phone
                PC:              Updated          1232/1232     Contacts
    (The 1232 contacts being updated are the 1232 that are compiled under the one contact listing of course).
    Needless to say, Companion Link says it is the phone. 
    Palm says it is the Companion Link third party software.
    Since it is the same 1,200+ contacts every time, I have had both Palm and Companion Link examine my contact database to see if they could identify anything amok about these 1,200+ contacts, but there doesn’t appear to be any difference between those contacts and the 300 or so that synch into the phone properly.
    Companion Link has told me variously that:
    -  This is a very rare Synergy issue and that I must turn off the Synergy feature on the phone (would that this could be done per Palm it can NOT be done).
    -  Only TWO people have ever had this issue (me and someone else unnamed);
    -  That this is a common problem with the Palm Pre, but Companion Link works fine with every other phone
    -  I e-mailed them my contact list and they SWORE to me that they were unable to duplicate my problem on their computers.  (I don’t believe this)
    -  AND has most recently told me that there is nothing more they can do for me, that I will have to find a solution myself.
    Palm has said that there is nothing they can do for me if third party software doesn’t work properly with the phone.
    This does appear to be the Synergy feature run amok.  But how to correct it???????
    I love the Palm Pre.  I love my Palm Desktop 4.2 software.
    If I can’t get this fixed shortly, I guess I’m going to have to move back to a Treo 680.
    Does anyone out there please, please, please have a solution or a suggestion that will help?
    Post relates to: Pre Plus p101vzw (Verizon)

    Hello,
    I am almost as frustrated as you.  Purchased my pre plus back in may and bought the companion link software immediately  ( I have synced via usb for years on other palms to lotus notes)  All the information from companion link states that it does the job.  I only need to sync my calendar, no contacts.   I have put in a ridiculous amount of time with palm, my IT department and Companion link,  IT HAS NEVER EVER EVER WORKED.   I deleted, re installed, upgraded, tried different steps in different orders, I have gotten a new phone, tried it on multiple computers.  NOTHING WORKS.   Probably been through all these steps listed 50 times by now.  Actually I think that companion link doesn't work for palm pre plus, they just are not willing to say so and advertise that is does work. 
    I am extremely disappointed in my pre because of this.  I did my research before making my purchase, it appeared possible.    I WAS a long term palm user.  Currently looking at new phones and never again a palm.  Companion link should be more careful about what they say they can do.  One of the service techs actually told me that if I wanted it to work I should ditch my palm.  That's service for ya.
    Good luck,  the fight got the better of me.  I am done.

  • Need help to run sql loader from Form6i

    Hi All,
    I have some problem with the sql loader running from form 6i.
    I have done following steps for that.
    1. have created bat file to run sql loader.
    2.Alos created ctl and txt files inside the same folder.
    In the form , in button press i have written below code
    HOST('cmd /c C:\load1.bat > C:\output.txt');
    But it is giving error as -
    "Unable to open Load1.ctl."
    but i have run that bat files from command prompt ; and it is running fine.
    I guess probably it is not getting the correct path.
    Will pls help me, wt exacly I'm doing wrong?
    Rg,
    Subir

    Hi Francois,
    Thanks for reply.
    It is not a problem with the batch files. Coz, I just able to run batch files, but that is not correct solution.
    Once the host command id firing, that time it is going to path -
    "c:\orant\Form60\"
    And in this path it searching for that batch files and all the require files; but the require files are present in some different folder. So i think I need to change the path as well, but that I'm unable to do.
    To resolve the problem, I have copied all the files in "c:\orant\Form60\" folder, and then it is working.
    So I think I need to changed the path, so how to change the path. If I able to change the path I think it will worked. How to change the path?
    Best Rg,
    Subir

  • Need help with href link that submits

    I need some help. I dynamically create HTML that displays a horizontal row of page numbers in Position 8. Although they look like page numbers to the use, are not true Apex pages, but rather "logical" pages that change the content in a single Apex physical page. The URL that gets returned from the HREF sets a variable in the page. Then I need a submit to occur so that all my "after submit" processes run, and the page re-renders. Is this even possible? I've been unsuccessful so far.
    Thanks.

    Martin,
    Two things...
    1. Be careful about "hard coding" values in a link. I don't know if you've already done this, but the link should use substitution variables as so...
    f?p=&app_id.:&app_page_id.:&app_session.::NO::P94000_LOGICAL_PAGE_NUM:2
    When the page renders each substitution variable will be replaced with the correct value.
    2. Not that it really matters, but you named your variable starting with P94000. Typically this would indicate the variable appears on page 94000. Is this the case?
    The problem with what you want to do is that it can be done so many different ways. Each way is not necessarily better than the other. Number 1 above is using a link in the traditional sense. It's a link to the same page (achieved by using app_page_id). It will not submit the page but it contains enough information to set the value of a variable and you can code off of that variable's value.
    You could use a JavaScript trick, but I wouldn't bother for this. In addition, you could use the request value over a variable value to feed off of but since you already started with the variable I'd stick with that.
    The first thing you need to do is figure out if your variables value is being set with the link... Let me know if you have more questions.
    Regards,
    Dan

  • Run "USE" with linked server alternatives

    I am using SQL server linked servers and find some difficulties while running queries.
    Below is the actual query.
    USe testdb
    SELECT COLUMNPROPERTY( OBJECT_ID('Table_1'),'column1','IsIdentity')
    It returns 1 as column1 is identity column 
    To run it to a linked server I used
    Use mylinkedserver.testdb
    SELECT COLUMNPROPERTY(OBJECT_ID('Table_1'),'column1','IsIdentity') 
    But when I run this I get error as shown below Database 'mylinkedserver' does not exist. Make sure that the name is entered correctly.
    Where as I can query the table by using select * from pc91sql.testdb.dbo.Table_1 successfully.
    Then i used OPENQUERY option
    SELECT * FROM OPENQUERY(pc91sql,'SELECT COLUMNPROPERTY( OBJECT_ID(''testdb.dbo.Table_1''),''column1'',''IsIdentity'')');
    It returned NULL. But it should have returned 1 as column1 is a identity column.
    Then I checked again running my original query directly in the linked server without use command and NULL is returned . If I run same query after I mention use testdb or in SSMS after choosing database from list then it returns 1 .So it means OBJECT_ID is not
    able to use database name along with table name(i.e like ''testdb.dbo.Table_1'').
    So how to run the above query?(I think i cannot make use of "USE" with linked server.So what is the alternative 

    One way to accomplish what you want to do is by using dynamic SQL.  For example:
    execute [mylinkedserver].master.dbo.sp_executesql N'USe testdb SELECT COLUMNPROPERTY( OBJECT_ID(''Table_1''),''column1'',''IsIdentity'')'

  • After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    I see this on Apple's support page:
    Available for: OS X Lion v10.7.5, OS X Lion Server v10.7.5, OS X Mountain Lion v10.8 and v10.8.1

  • Please help with a link!!

    Hi All,
    I am having a problem with a link on this site that I am working on. http://msp005revised.businesscatalyst.com/index.html   I would like to have  "Learn more about Mary" as a link which scrolls horizontally to the "About Mary"   page. All the pages are part of a tooltip composition widget. I tried using anchors unsuccesfully. I would be ever so grateful for any help.
    Rita

    Hi Rita
    With Anchors what happens if you apply that ? It should work as the page should scroll up to menu options that you have placed on main page.
    But it seems you are using full screen slideshow and wants to link the text with the slideshow on Mary using the triggers.
    My suggestion would be to create a page or image/document about marry and then hyperlink the text with that page, this way users will be directed to About Mary page not the actual slideshow but the contents can be made same or insert the same slideshow on About Mary page, the effect would be same.
    Thanks,
    Sanjit

  • I have made a webpage in HTML with several links to JPGs / GIFs. The text matter opens perfectly but not the images. Please help me

    I have made a web page in HTML with several links to JPGs / GIFs. While text matter opens up perfectly, but not the images. Please help me.
    == This happened ==
    Every time Firefox opened
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CTS Version; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

    URL of that web page?

  • HELP!!!! I have spent hours trying to find out how to embed an image with a link or a Microsoft Word document with a hyperlink built within the document -- not as an attachment! Does ANYONE know the secret? Can it be done, or not! My PC clients do it.

    HELP!!!! I have spent hours trying to find out how to embed an image with a link, or embed a Microsoft Word document with a hyperlink built within the document -- not as an attachment into my email -- but where it shows as the email content when opened! Does ANYONE know the secret? Can it be done, or not? My PC clients do it all the time easily. Then I want to be able to send the embedded image/document (not as an attachment, but visable within the email when opened) to many email contacts at once, BUT the individuals receiveing them DO NOT SEE the other email contacts. Cannot seem to be able to find anything on being able to do these 2 tasks.PLEASE, SOMEONE, HELP!!!

    Don't know if this applies to Lion, but read here:
    http://www.makeuseof.com/tag/create-html-announcement-mail-iweb-mac/

  • Copy link 0.1.7 addon is working with firefox 19.0, what can I do for open all url at a time with help of short key.

    copy link 0.1.7 addon is working with firefox 19.0, what can I do for open all url at a time with help of short key.

    Check out this Addons
    *https://addons.mozilla.org/en-US/firefox/addon/multi-links

Maybe you are looking for