Forum Replies Created

Viewing 15 posts - 1,036 through 1,050 (of 3,348 total)

  • RE: Database in full recovery?

    Forgot to add this. Despite what the consultant says, there's nothing that holds you from using full recovery and taking log backups. As Jeff already mentions, SQL Server will always...

  • RE: Database in full recovery?

    Johan Buis (1/26/2016)


    Question:

    What do you think, is the argument put forward by the consultant a good reason to stick with the simple recovery model?

    My blunt answer is that the argument...

  • RE: Tr log is full how can we reduce it

    mw112009 (1/26/2016)


    Reply to John:

    See attached, I ran the sql you sent.

    Also in my original post I have question#2.

    That is:

    IS there a way for me to do an update without SQL...

  • RE: Is there any risk involving in granting showplan permission to a dev group in devleopment UAT databases?

    Absolutely not. They *should* have that permission, because you want devs to learn to tune their queries. As a DBA, you'll have your hands full with the beasts that are...

  • RE: Count Function Result (2)

    Stephen Grimshaw (1/26/2016)


    I'm a bit surpised at the behaviour when a number appears in the brackets. Wasn't it once the case that a number would have been interpreted as colid?

    No,...

  • RE: Flag Values Based on Columns

    nm.rajesh (1/25/2016)


    Apologies for wasting your time , I have given the wrong table and insert statement i have Now corrected them in the below queries :

    No apologies needed, everyone can...

  • RE: Are the posted questions getting worse?

    Grant Fritchey (1/25/2016)


    A few questions for the threadizens. Interested in this from everyone, but especially interested in what you guys who consult think.

    What blockers are you seeing for Azure?

    What blockers...

  • RE: Are the posted questions getting worse?

    Ed Wagner (1/24/2016)


    jonathan.crawford (1/23/2016)


    Uh, how does one go Hand-To-Hand, exactly? Were you cramming pellets down someone's throat? I can also envision you sneaking around with a paintbrush and a...

  • RE: Color code column values

    sqlnewbie17 (1/25/2016)


    By evaluating 2 columns(Blocked and Current_Overdue) and then color coding 2nd column.

    Can I have somethinglike this to color code a column (Current_Overdue)

    =IIF(Fields!Blocked.Value=1 And Fields!Current_Overdue.Value = 0, ...

  • RE: Can't ALTER COLUMN to NOT NULL and ADD PRIMARY KEY in the same SQL Batch?

    Lowell (1/25/2016)


    the parser didn't ignore anything. your DDL commands not separated by a GO statement. DDL and DML need to be seperate batches for the compiler to identify the changes.

    Sorry,...

  • RE: Flag Values Based on Columns

    Thanks for posting CREATE TABLE and INSERT statements, Rajesh!

    Your explanation about the order of the data is also valuable: the data comes from an external source, you load it in...

  • RE: Color code column values

    You don't reference the cell but the corresponding field in the data source. E.g.:

    =IIF(Fields!Blocked.Value=1 And Fields!Current_Overdue.Value > 0, "Red", "Green")

  • RE: Sub-Grouping by consecutive rows

    mishka-723908 (1/24/2016)


    Will this have the CTE recursion limit?

    The solution Jeff posted uses CTE's, but no recursive CTE's. So no, it does not have a recursion limit. And it is known...

  • RE: RECREATE AN ID OF A ROW AFTER BEING DELETED

    Eirikur Eiriksson (1/23/2016)


    Ed Wagner (1/23/2016)


    Eirikur Eiriksson (1/23/2016)


    Ed Wagner (1/23/2016)


    Piling on, I have to agree with the majority opinion here - this is a bad idea. If you're going to...

  • RE: Can't ALTER COLUMN to NOT NULL and ADD PRIMARY KEY in the same SQL Batch?

    hlrx (1/22/2016)


    Not trying to be argumentative, but I understand how the process works, I'm just looking for a simpler solution.

    Simpler then either adding "go" in between or submitting as two...

Viewing 15 posts - 1,036 through 1,050 (of 3,348 total)