Forum Replies Created

Viewing 15 posts - 136 through 150 (of 326 total)

  • RE: Update All columns in table

    Try this one , It might help ;

    Merge into desttable as target

    using

    (

    select col1, col2,col3,col4,col5 from sourcetable

    except

    select col1, col2,col3,col4,col5 from desttable

    ) as source

    on target.col1=source.col1 -- (use primary key )

    when matched...

  • RE: BIT Primary Key

    nice and easy ..

    thanks for the question ..

    Also, about the explanation

    The row with Comment 'row 3' is rejected by database engine because decimal integer 2 (which is...

  • RE: Inputs Required!!

    Lokesh Vij (1/27/2013)


    demonfox (1/27/2013)


    CDC is more like versioning than audit ; what does it mean by audit trail on daioy transactions ?

    does it more related to logging of transaction by...

  • RE: Inputs Required!!

    Lokesh Vij (1/27/2013)


    If you are looking to audit CURD operations on tables. Like if you want to know which columns have been updated and want to know the old values...

  • RE: CHOOSE - 1

    Lokesh Vij (1/27/2013)


    Thanks Ron for another one on SS 2012.

    Though I understood the CHOOSE function well, but have to query Employee table to get the answer correctly.

    Ya , without Employee...

  • RE: Question of the day

    nice and easy ..

    thanks

  • RE: Relational Model versus XML

    Well, I got it wrong for thinking ; that the university website needs more publications and subscriptions , so better to have xml structures ; good for subscribers..

  • RE: BIT data type

    Lokesh Vij (1/21/2013)


    An easy one for the day. Looking at all the answers, it was quite obvious to find the correct one (the odd one out).

    Posting the correct link:

    http://msdn.microsoft.com/en-us/library/ms177603.aspx

    Thanks!

    +1

  • RE: EOMONTH - 1

    Thanks Ron .

  • RE: Index Question

    carlecot88ssn (1/18/2013)


    I think you wrote this by mistake. And if this is the truth, why didn't you delete your post ? We should be more conscious while posting a threat...

  • RE: Loading changed (delta) data into data warehouse

    scottsnyder55 (1/17/2013)


    I need to load only changed (delta) data from 3000 databases into a staging environment that will then be loaded into a data warehouse. The SQL Server versions include...

  • RE: Loading changed (delta) data into data warehouse

    carlecot88ssn (1/18/2013)


    The fabric upper will provide good protection and soft touching feeling for its wearer. While the thickened Onitsuka Tiger Tokidoki Mex Lo collar and the additional small piece of...

  • RE: Bug when aggregate in select?

    Jason-299789 (1/18/2013)


    Its possibly more dangerous to have a user defined objects in your Master database.

    However, I dont think its an issue when you consider it logically the sum indacates that...

  • RE: Bug when aggregate in select?

    Jason-299789 (1/18/2013)


    Its possibly more dangerous to have a user defined objects in your Master database.

    Good one Jason !!! 😀 :w00t:

  • RE: Nested replaces ?

    Nice problem; I guess i need to read the long detail provided ..

    Well, about the copy paste solution for the 2nd and third, I think dynamic sql could be of...

Viewing 15 posts - 136 through 150 (of 326 total)