Forum Replies Created

Viewing 15 posts - 181 through 195 (of 7,168 total)

  • RE: How do you pseudo-code/flow-chart/map existing SQL code?

    Comments are most useful when they comminicate intent as opposed to structure. No need to rewrite Chapter 1 of every "how to write T-SQL" book alongside your code. However, you[\i]...

  • RE: Home Computing - RAM and Processing suggestion

    etl2016 (2/21/2016)


    Hi,

    I am willing to go for a All-in-One Desktop, for home computing/educational purpose, mostly having Microsoft development apps such as below.

    Could you please suggest if 8GB RAM and Core...

  • RE: MERGE Help

    kshah82 (2/21/2016)


    Thanks, I understand the issue but I was thinking if the record exists in both tables and the Clerk ID and Asset Value does not match then do the...

  • RE: MERGE Help

    kshah82 (2/20/2016)


    Thanks for the response!

    Sorry my bad, Badge ID is he Employee ID.

    Take these two rows:

    INSERT dbo.Source2(EmployeeID, ClerkID) Values(123456, 'abcd');

    INSERT dbo.Target2(EmployeeID, AssetValue) VALUES(123456, 'abcd');

    yes, no update

    OK, got it.

    INSERT...

  • RE: Linked Server is not working for me for physically separated machine

    assefamisganaw (2/20/2016)


    I have two separate machine installed with SQL server 2008R2.

    Now I want to execute query from Server1 and write to Server2.

    I have two physically separated machine installed with the...

  • RE: Today's Random Word!

    TomThomson (2/20/2016)


    Ed Wagner (2/19/2016)


    TomThomson (2/19/2016)


    ZZartin (2/19/2016)


    Driver

    road hog

    Harley

    Davidson

    Curry

  • RE: Script to find all objects owned by a user (loginname)

    JRoughgarden (2/19/2016)


    R Barry Young's procedure fails if any databases have conflicting collations. Report Server databases have Latin1_General_CI_AS_KS_WS collations, whereas the default collation is often SQL_Latin1_General_CP1_CI_AS.

    OK, so can you post the...

  • RE: Alert on db suspect mode

    ramana3327 (2/19/2016)


    Hi,

    I am working on creating alert for db status when there is any change except online for all databases

    I tested using if @state = 'Online' but it didn't give...

  • RE: MERGE Help

    kshah82 (2/20/2016)


    I have two tables Source and Target (see attached).

    if the Badge IDs and Asset Value and Clerk IDs match then no action.

    if the Badge IDs match and Asset Value...

  • RE: Try Catch doesnt work

    As I understand it, this code is never even executed so your TRY/CATCH is not even considered. During the early stages of execution the QO is evaluating the possibility of...

  • RE: How to pass in a user variable value to an SSIS package from TSQL?

    Phil Parkin (2/19/2016)


    I think that you can do it using catalog.set_execution_property_override_value.

    Good call. You can.

    I remember now..I explicitly went towards promoting everything we used to set on the dtexec command line...

  • RE: Topic emails not being sent when replies are posted

    After posting this new thread I went in and the Topic Options are in fact "No Email Notification (Just Add To List)". Did I accidentally change a default option somewhere?

  • RE: How to pass in a user variable value to an SSIS package from TSQL?

    It's been over a year since I looked into this but during a migration from 2008 R2 Package Deployment model to 2012 Project Deployment model I seem to remember having...

  • RE: Query to count concurrent users every hour

    Jeff Moden (2/18/2016)


    Gstar1224 (2/18/2016)


    ...calculate the number of concurrent users every hour...

    What does that actually mean? Do you mean, for example, if someone were logged in from 1:30AM until...

  • RE: Count number of visits each day

    WITH cte AS (SELECT DOCTOR, PATIENT, [DATE OF VISIT], [TIME OF VISIT],

    LEAD(PATIENT, 1,...

Viewing 15 posts - 181 through 195 (of 7,168 total)