Forum Replies Created

Viewing 15 posts - 31 through 45 (of 55 total)

  • RE: Updating the data in a table

    I'm sure this question maybe overlooked by those who don't know the "all–at–once operations" property of SQL.

  • RE: Merge

    L' Eomot Inversé (2/14/2013)


    Nice question. However, the explanation would have been better if it had pointed out that filters like this can be placed in the when matche/not matched...

  • RE: Creating Tables 2

    I learned from question on 2/11, I read the question carefully this time. : )

  • RE: Type conversions and Nulls

    So many back to basics in such a short question. 🙂

  • RE: sql server permissions on triggers

    Hi,

    Example: a user has permission to insert, but denied on delete for tableA.

    When user inserts a row into tableA > insert triggers fire.

    When user deletes a row from tableA...

  • RE: Create string using input values

    Jeff Moden (1/28/2013)


    C'mon, folks! Just look at the mess of code that a While loop makes for this! No one should be writing a While Loop for this!

    Hi...

  • RE: Create string using input values

    Hi Lynn,

    I like the solution you provided. Didn't thought of that.

  • RE: Create string using input values

    Hi,

    This solution is similar like other posts. this one is not very efficient but it's enough to solve the problem.

    --goal: Output CombYr = 3/4/5

    --Input: BegYr int, EndYr int

    --assume inputs are...

  • RE: Help on how to count guests in hotel every day

    Hi,

    Here's one of the possible solution.

    -- # of guests the hotel served on each day in December 2012

    SELECT g.checkin AS [date], COUNT(*) AS [#of_guests_served]

    FROM dbo.guests g

    WHERE g.checkin BETWEEN CAST('20120101' AS...

  • RE: sql trigger problem

    Hi,

    the trigger is missing a begin catch & end catch block.

  • RE: PBM Alert

    tough one for my midnight snack. : )

  • RE: We Need a DBA Boot Camp

    1. No

    2. Yes

    I would love to attend a DBA boot camp. However, I think most of people wouldn't have the time or the resource to do so. Does anyone know...

  • RE: SQL Server Browser

    totally got burned by this one. : )

  • RE: Transactional Replication

    I totally didn't know the answer for this one. I thought the answer is the same as the answer for mirroring question last month.

    Good one!

  • RE: July 4

    It's good to know a bit of history. : )

Viewing 15 posts - 31 through 45 (of 55 total)