Forum Replies Created

Viewing 15 posts - 3,946 through 3,960 (of 6,397 total)

  • RE: Maintenance Plan

    Please provide screen shots of the maintenance plan and the maintenance plan tasks.

  • RE: update sr_no by Stored Procedure by ..

    Is SR_NO used as a foreign key to any other tables? Either through physical foreign keys or via application inserting into table and getting the SR_NO at insertion time?

    What would...

  • RE: Maintenance Plan

    Are you appending to the same file in the maintenance plan, or are you creating a new file on each run of the plan?

  • RE: QUERY: Daily database size occupation

    Hopefully this will do it based on the max record date for a particular day then linking back to itself to get that row for that particular database.

    SELECT

    T1.RECORD_DATE,

    T1.DATABASE_NAME,

    T1.FILE_SIZE,

    T1.FILE_SIZE_USED,

    T1.DATA_SIZE,

    T1.DATA_SIZE_USED,

    T1.LOG_SIZE,

    T1.LOG_SIZE_USED

    FROM

    sometable T1

    INNER JOIN

    (

    SELECT

    MAX(RECORD_DATE)...

  • RE: QUERY: Daily database size occupation

    You would want the MAX recorded date, then you will need to group by the remaining columns

    SELECT

    MAX(RECORD_DATE)

    DATABASE_NAME,

    FILE_SIZE,

    FILE_SIZE_USED,

    DATA_SIZE,

    DATA_SIZE_USED,

    LOG_SIZE,

    LOG_SIZE_USED

    FROM

    sometable

    GROUP BY

    DATABASE_NAME,

    FILE_SIZE,

    FILE_SIZE_USED,

    DATA_SIZE,

    DATA_SIZE_USED,

    LOG_SIZE,

    LOG_SIZE_USED

    That will only give the last recorded value, not on a daily basis.

    Will...

  • RE: file example

    Looks like you might want SSIS for this.

    Plenty on the topic in the stairways section.

    Use it to load the file into the table, then you can use T-SQL to modify...

  • RE: Regarding database backup corrupted

    If the database is important, why wasn't the database stored on a server and not a desktop and why didnt you have a proper backup routine in place for the...

  • RE: Can't KILL a process

    Good blog Wayne will bookmark that.

    Just one thing you have a [/u] IFCode in the URL link, so if you click it you get a 404 error.

  • RE: Can't KILL a process

    Trace the UOW back to the originiating host via sys.dm_exec_requests and terminate the DTC transaction from the source, that should resolve the issue.

  • RE: Creating the Report Dataset

    The user you have specified in the data source doesnt have access to the SQL server or database in the datasource.

    If you have used a SQL login, ensure the users...

  • RE: Agent not showing in SSMS

    The only posibility then that I am aware of is that the account your loging in as isn't sysadmin or a member of the SQL Agent fixed roles.

  • RE: Regarding database backup corrupted

    If your system was corrupted when you took the backup then it is likely that the backup is also corrupted hence why you are getting these errors.

    The only way to...

  • RE: Log shipping throw errors

    Are you bothered about the alerts during the weekend as well as the weekdays?

    If so you will need to set the alert to 62 hours for a backup threshold if...

  • RE: multiple datasources/servers?

    You dont need an execute SQL task, just a data flow task.

    Create connection managers for ServerA,B,C,D,E and then a connection manager for the server where the big table is going...

  • RE: Parallel database backup restore script

    I would first direct you to these links

    Backup

    Restore

    If you have any issues after that please detail what the issues are.

    If your talking about a parallel data warehouse, I would of...

Viewing 15 posts - 3,946 through 3,960 (of 6,397 total)