Forum Replies Created

Viewing 15 posts - 886 through 900 (of 1,409 total)

  • RE: SQL Netbackup Job failures

    SQLisAwE5OmE (7/18/2013)


    INFO The system cannot find the file specified.

    The key here is the above line. It looks like the backupfile cannot be created. Verify the filepath and access permissions to...

  • RE: Stored Procedure Repeating Last Line Of Loop

    skempf (7/18/2013)


    WHILE @@ROWCOUNT <> 0

    BEGIN

    .....

    DELETE #TempTable WHERE OrderID = @ORDERID

    END

    What am I doing wrong to cause the last row of data to be duplicated?

    You have defined the loop to look...

  • RE: Backup strategies and scheduling

    I also find the schedules you mention very odd.

    A rather common frequency is:

    FULL: weekly

    DIFF: daily

    LOG: every 30 mins

    But the frequency really depends on your business requirements. How much data loss...

  • RE: Transaction Log growth out of control

    If you run in FULL recovery modus, you can query the [sys].[databases] table. In the column "log_reuse_wait_desc" is stated what holds the log file from being re-used (and thus is...

  • RE: Server crash during load testing

    The SQL instance failed on the cluster. You refer (with deadlock, concurrency) to the error in the ODBC connection. This error is not the rootcause. This error just occurs because...

  • RE: litespeed restore

    If you can't use the utility and you don't want to use the extracter, then it's all over. What did you expect?

    Only option is what a previous poster allready mentioned:...

  • RE: Force SQL jobs to run serially, not in parallel

    You could accomplish this by adding a second jobstep to each backup-job. In this second jobstep you start the next job. Only the first job has a schedule attached.

    So:

    You or...

  • RE: Active Users

    There are multipe ways to get this information. Below are some examples:

    select * from master.sys.dm_exec_sessions

    select * from master..sysprocesses

    exec sp_who2

  • RE: SQL Server Backups & Maintenance - Best Practices

    JAMMOD (7/18/2013)[hrThanks for the replies guys! just a couple of questions on the above, would you be able to explain a bit more about why the DIFF and LOG backups...

  • RE: Table Join on three columns

    Explanation of the code:

    Both tables (june and july) are joined on the matching columns. Because it's a FULL OUTER join, all the records will be in the result, even if...

  • RE: How to get correct datatype names for numeric and date type values

    You can place this code as the first CASE statement:

    WHEN DATA_TYPE = 'decimal'

    THEN '(' + Cast(NUMERIC_PRECISION AS VARCHAR(5)) + ',' + Cast(NUMERIC_SCALE AS VARCHAR(5)) + ')'

    You can expand the...

  • RE: How to get correct datatype names for numeric and date type values

    Because for INT and DECIMAL the value for CHARACTER_MAXIMUM_LENGTH is a NULL value. Adding a NULL value to a string will result in a NULL value.

    Change the CASE statement to:

    ,...

  • RE: LS

    ramyours2003 (7/18/2013)


    .TUF -transaction undo file

    SQL Server doesn't have a Transaction Undo File. I think you are working with Oracle. This forum is about Micorosoft SQL Server. Very few posters will...

  • RE: Help me SQL Select

    If you want the highest value of multiple rows, this is also a working solution:

    select

    IDActivity

    , MAX(Subject) as 'Subject'

    , MAX(ProjectName) as 'ProjectName'

    , MAX(Fullname) as 'Fullname'

    , MAX(CusName) as 'CusName'

    from table_name

    group by IDActivity

  • RE: LS

    please explain: "tuf file"

Viewing 15 posts - 886 through 900 (of 1,409 total)