Forum Replies Created

Viewing 15 posts - 4,576 through 4,590 (of 8,761 total)

  • RE: One of the most complex Views i have ever seen (View nested into another view)

    SQLPain (9/11/2015)


    I ran the code again you gave, this time its giving me the following error.

    Msg 195, Level 15, State 10, Line 3

    'ROW_NUMBER' is not a recognized function name.

    Msg 156,...

  • RE: Transactional log file restore job

    tt-615680 (9/12/2015)


    Dear All,

    I have a database which gets refreshed on the daily by restoring 1 transactional file log, at the moment it is done manually but I'm trying to create...

  • RE: Query Processing Question

    Alan.B (9/11/2015)


    Thanks Eirikur, you always seen to have the answer. Very interesting stuff - I have never really played around any Undocumented Query Optimizer Trace Flags (I used to play...

  • RE: Query Processing Question

    Further on the topic, the input tree is generated during the parsing and binding phase. Since the query processor does not evaluate variable values during this stage, this step produces...

  • RE: ER Modeling

    Alvin Ramard (9/11/2015)


    Eirikur Eiriksson (9/11/2015)


    Alvin Ramard (9/11/2015)


    Anyone use dbForge Studio to generate diagrams?

    Did try it briefly few years back, not bad but it didn't end up in the tool...

  • RE: ER Modeling

    Alvin Ramard (9/11/2015)


    Anyone use dbForge Studio to generate diagrams?

    Did try it briefly few years back, not bad but it didn't end up in the tool chest, main reason being...

  • RE: Today's Random Word!

    Luis Cazares (9/11/2015)


    ZZartin (9/11/2015)


    Pizza

    Always

    pronto

  • RE: ER Modeling

    Mike Sofen-356112 (9/11/2015)


    Eirikur Eiriksson (9/11/2015)


    My 2 Cents, when working with large and often complex schema, cluttering a detail level ERD into a single diagram does neither make sense nor serve...

  • RE: Today's Random Word!

    anthony.green (9/11/2015)


    whereisSQL? (9/10/2015)


    Ed Wagner (9/10/2015)


    DonlSimpson (9/10/2015)


    Ed Wagner (9/10/2015)


    djj (9/10/2015)


    Ed Wagner (9/10/2015)


    whereisSQL? (9/10/2015)


    Luis Cazares (9/10/2015)


    Universe

    He-Man

    Conan

    Sword

    Katana

    Samurai

    Shogun

    Shaolin

    Monastery

    Hermetic

  • RE: Updating XML colums

    Newbie36037 (9/11/2015)


    With a bit of tweaking I got it to work

    Many Thanks

    You are very welcome.

    😎

  • RE: Need alternative for below query

    akash_singh (9/11/2015)


    Here is the execution plan for your reference.

    The image posted does not help much, the only thing one can suggest from this is to add covering indexes to the...

  • RE: Need alternative for below query

    Quick question, can you post the DDL (create table), sample data as an insert statement and the desired output?

    😎

  • RE: ER Modeling

    My 2 Cents, when working with large and often complex schema, cluttering a detail level ERD into a single diagram does neither make sense nor serve any purpose (apart from...

  • RE: How To Pivot AN Unknown Number Of Rows To Columns Using Data As The Column Headers

    Have a look at Aaron Bertrand's article Script to create dynamic PIVOT queries in SQL Server[/url]

    😎

  • RE: Updating XML colums

    Quick example

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    /* XML snip to update, note added a ROOT element */

    DECLARE @TXML XML = '<ROOT>

    <Name>Assets - Reconciler</Name>

    <UpdatedOn>2015-05-20T13:23:09.230</UpdatedOn>

    <CreatedOn>2015-05-20T13:22:04.920</CreatedOn>

    <UpdatedBy>RLG\JoeBloggs</UpdatedBy>

    <CreatedBy>RLG\JoeBloggs</CreatedBy>

    <InputDirectory>\\99.999.999.9\Active</InputDirectory>

    <OutputDirectory>\\99.999.999.9\Archive</OutputDirectory>

    <ErrorDirectory>\\99.999.999.9\Errors</ErrorDirectory>

    <LoadId>0</LoadId>

    <Type>ExcelFile</Type>

    </ROOT>';

    DECLARE @NEW_IP VARCHAR(15) = '123.456.789.012';

    DECLARE @SAMPLE_TABLE TABLE

    (

    ...

Viewing 15 posts - 4,576 through 4,590 (of 8,761 total)