Forum Replies Created

Viewing 15 posts - 361 through 375 (of 432 total)

  • RE: create a stored procedure from two datbases

    A simple JOIN (as you would with two tables from the same database) adding the database and owner to the qualifier.

    The qualifier should look like this database.owner.table

  • RE: Stored Proc syntax

    I think that you're looking for:

    INSERT INTO tblMatchNSI(serv_lev,ctry_code,expamt,impamt,LCamt,usdamt,wkending,trans_code,ship_id)

    SELECT    ExpHybrid.serv_lev, tblTempNSI.*

    FROM    dbo.ExpHybrid ExpHybrid

    RIGHT OUTER JOIN dbo.tblTempNSI tblTempNSI 

         ON ExpHybrid.ship_id = tblTempNSI.Ship_id

    WHERE...

  • RE: April Fools

    In my last job PSKill gave me a lot of amusement. There were numerous calls to the helpdesk that Outlook or other application had just closed itself down.

    Creative use of...

  • RE: UPDATETEXT across linked server

    If they do, you could use your trigger to fire a stored procedure on the linked server; passing the row's Unique ID (say @rowID for ease) as a parameter to...

  • RE: UPDATETEXT across linked server

    Okay Paul,

    Do your rows have Unique IDs in your original table (the one with the trigger on)?

    Ade

  • RE: UPDATETEXT across linked server

    I don't think that this is possible:

    Check out this link

    http://msdn2.microsoft.com/en-us/library/ms175129.aspx

    there is a line in there:

    READTEXT, WRITETEXT, and UPDATETEXT statements are not supported against remote tables.

    What are you trying to...

  • RE: Unlimited columns

    I've only ever worked in small companies in the UK , could someone give me an example of why you'd need more than 1024...

  • RE: Using the /A switch to pass global variables to a dts package

    When using the /A switch I always surround the definition in quotes:

    /A "gvFileName=c:\text"

    I use a lot of DTS packages in scheduled jobs and use the xp_cmdshell to execute them.

  • RE: HOW TO KNOW PROCESS ID

    The configuration function @@SPID (SELECT @@SPID) is probably the easiest and least time consuming to implement.

  • RE: Append Entire File Content to Another File

    It could also be done using xp_cmdshell and the TYPE command, thus:

    EXEC master.dbo.xp_cmdShell 'TYPE C:\TextFile.txt >> C:\TextFile2.txt'

    This would append the contents of Textfile.txt to TextFile2.txt on the SQL...

  • RE: SQL 2000 DTS "Middle of String" transform issue with Unicode data?

    Hey Frank,

    Good description of your problem - so good that I even managed to recreate the problem!! A little experimentation got me to this conclusion:

    Open your Middle of String transformation...

  • RE: The 7 Upsides to IT

    Easy money... Couldn't agree more!!

    And this easy money is funding my part-time Degree studies in to Psychology. I spent 3 years in HM Forces figuring out how radios, jammers, and...

  • RE: Help with a Monster Query

    Matthew -

    If you could post some background of what you're trying to achieve and the relevant code, rather than a small snippet, we might be able to help you toward...

  • RE: To The Max

    I worked for a company that ran one of those customer loyalty-type programs (points per £/$ spent and the like). They used a third-party software as the 'loyalty-engine' which processed...

  • RE: What''s the Right Thing?

    Bill, I think you're wrong. The terms and conditions of sale are totally different to your idea of "agreement". The T's and C's on a sale carry through to completion,...

Viewing 15 posts - 361 through 375 (of 432 total)