Forum Replies Created

Viewing 15 posts - 8,086 through 8,100 (of 8,760 total)

  • RE: Need assistance with recursive query (XML)

    This is straight forward, the main pitfall is that the node value must either be typed (XSD) or referenced with text().

    😎

    USE tempdb;

    GO

    /* Create a table (variable) */

    DECLARE @XMLUPDATE TABLE

    (

    ...

  • RE: xp_cmdshell in stored procedure not the same result as cmd prompt

    dirk.dromgoole (5/20/2014)


    I have a stored procedure that uses xp_cmdshell to execute an executable. I made code changes to the executable and compiled a new build. The stored procedure...

  • RE: output identity values

    An even simpler solution is to grab the output into a table variable which then can be used to get the old-new values for the identity map table.

    😎

    DECLARE @INSVAL TABLE

    ...

  • RE: export in xml from a sql server table

    This should get you started, notice I changed the data type of the monetary value, float is not the appropriate type!

    😎

    USE tempdb;

    GO

    create table #prova

    ( Valuta varchar(2),

    Misura DECIMAL(18,5)

    )

    insert into #prova values...

  • RE: Just curious, what are your SQL pet peeves ?

    Luis Cazares (6/5/2014)


    thomashohner (6/5/2014)


    But how would you alias those continents?:hehe::hehe:

    ***Just Kidding

    I could alias them and join them. 😀

    SELECT *

    FROM NorthAmerica na

    JOIN SouthAmerica sa ON na.PanamaSouthBorder = sa.ColombiaNorthBorder

    JOIN Europe ...

  • RE: After upgrade to SQL 2012 (from 2008 R2 SP2) sys.master_files shows most log files with wrong name

    scotteb (6/4/2014)


    ok. I took a look at the T-SQL to attach and didn't see an option to specify the logical names, so I simply attached without the log file,...

  • RE: Sp & parameters

    ramana3327 (6/5/2014)


    Hi,

    I am still new to the SQL Server. So I want to know all your experiences.

    If you want send a report that the SP is taking this time and...

  • RE: Sp & parameters

    ramana3327 (6/4/2014)


    Ok.

    If we forget about mine and come to the general situation. In usually what could be the possible reasons causes of high execution time if we execute SP immediately...

  • RE: Using Dual Monitors vs Single Large Monitor

    SQLRNNR (6/4/2014)


    LightVader (6/4/2014)


    SQLRNNR (6/4/2014)


    How about 1 big monitor and 1 projector?

    Then it is like having 2 monitors but you really only (technically) have 1.

    I hooked up my old SNES to...

  • RE: Sp & parameters

    Unfortunately the situation leaves us purely guessing, as far as we can tell, the first execution bulk loads million records and the next writes engraves them in Sanskrit.

    😎

  • RE: Vulnerability scan report

    Rudyx - the Doctor (6/4/2014)


    These are Windows Server vulnerabilities methinks - these and any other MS security hot-fixes should ALWAYS be applied.

    It is an OS scope threat, as I said...

  • RE: Just curious, what are your SQL pet peeves ?

    Jeff Moden (6/3/2014)


    My greatest pet peeve of all is what some people claim to be "best practices".

    The plural makes it sound like polygamy

    😎

  • RE: Dynamic Excel filename

    Koen Verbeeck (6/3/2014)


    Dynamic file name for Excel Connection Manager – SSIS[/url]

    +1 Nice!

    😎

  • RE: A left trim is not grabbing all the data.

    Why not use the Split function?

    😎

  • RE: Dynamic Excel filename

    rahulabhinav15 (6/3/2014)


    I have a Excel sheet as destination.But i need to name that file dynamically from the value from sql query.Can anyone please help.

    Actually the excel sheet gets createdin the...

Viewing 15 posts - 8,086 through 8,100 (of 8,760 total)