Forum Replies Created

Viewing 15 posts - 1 through 15 (of 25 total)

  • Reply To: Need advice with backup plan and transaction log file

    Ant-Green wrote:

    How are you calling the log backup with Ola’a code?

    Are you doing the @copy_only = ‘y’

    Like this

    EXECUTE DatabaseBackup
    @Databases = 'BDNAME',
    @Directory = 'G:\BACKUP',
    ...
  • Reply To: Multi language

    Thanks for your answer, in fact those values are not entered by end-user.    They are values of drodown lists,  the end-user select the language at login,   then every dropdown...

    • This reply was modified 4 years, 7 months ago by  dubem1-878067.
  • RE: Restore full backup at first and restore diff backup later, can I?

    Great thanks for your answer.
    "With No recovery"  that's what I was missing.   So I guess when I restore the diff backup I'll do it "With recovery" ?

  • RE: Clean database data, make a new database - Best practices??

    Eirikur Eiriksson - Sunday, November 12, 2017 3:13 AM

    Recommend that you push the user data into a new file group, release...

  • RE: Clean database data, make a new database - Best practices??

    frederico_fonseca - Sunday, November 12, 2017 2:16 AM

    create empty database with simple recovery mode
    create all required tables with no indexes and no...

  • RE: compare varchar dates

    Sean Lange (2/12/2013)

    You don't have to explicitly convert all 3 but you DO have to force it to datetime.

    where convert(datetime, mydatecolumn, 120) between '2012-10-10' and '2013-04-01'

    Will this really...

  • RE: Columns in Row

    Got it

    SELECT IDTask, name, [1] as [StatusA],[2] as [StatusB],[4] as [StatusD]

    FROM

    (

    SELECT t.idTask, t.name, ts.idstatus, ts.status

    FROM dbo.Task t

    JOIN dbo.TaskStatus ts

    ...

  • RE: Columns in Row

    Thank, it works

    Can this be done with a PIVOT?

  • RE: several count in same column

    PIVOT is cool!

    Is the PIVOT query will perform better than the second quety with multiple SUM ?

    Martin

  • RE: Conditional delete

    Thanks lowell

    I don't think I would have imagine a solution like yours, it's brilliant

    But I would like to have your opinion on this query assuming I know the ID_COMMUNITY of...

  • RE: Conditional delete

    Thank you, look interresting but my problem is simpler than you think.

    A member belongs to only one community

    here is an exemple with data.

    Let's say I have 3 communities A,...

  • RE: Conditional delete

    Ok, here is my two queries. My app call the first one, and if it returns a value greater then 1 my app call the second one.

    SELECT COUNT(*)...

  • RE: Conditional delete

    Thank you for your answer

    My knowledge of T-SQL allow me to write two separates Stored proc, but when it's time to merge them I am lost. I even don't...

  • RE: count of consecutive value

    Jeff,

    with your second solution, the last select return 3 rows, one for each result. I can this select return only a single row, with the most recent...

  • RE: count of consecutive value

    You are right,sorry, my mistake

    Both yout solution give the exact wanted result

Viewing 15 posts - 1 through 15 (of 25 total)