Forum Replies Created

Viewing 15 posts - 346 through 360 (of 695 total)

  • RE: File System Task is Giving Access denied Error

    Yes, that is all that is in the Script Task.

    Delete files from a directory.

    Andrew SQLDBA

  • RE: File System Task is Giving Access denied Error

    Yes to both

    I have given the service account full access permissions to the directory. I can copy into that directory, but I cannot delete from. The directory is on the...

  • RE: Assigning Multiple Variables with Values at the same time

    Thanks Lutz

    That works perfectly. I have always used SET, which will allow only one value, SELECT allows multiple values.

    Another fundamental difference between SET and SELECT is that, you can use...

  • RE: Service Pack 3 on 64bit is Failing to Install

    Yes, I have all of that. There is almost nothing in the event log. I have sent the patch log that is generated, off to Microsoft. They have not gotten...

  • RE: File Time Only, no date

    Phil

    That is just what I have done, I am more of an ASP.NET developer. I am using that so that I can place breakpoints and more quickly see the values...

  • RE: File Time Only, no date

    Hey Phil

    I think that I may have mis-typed.

    I am using two variables minTime and maxTime

    minTime = 1:55:00 PM

    maxTime = 1:57:00 PM

    I am using the time the file was created to...

  • RE: File Time Only, no date

    Hey Phil

    Very close. There is another package that fires off at midnight that deletes all files, after copying all of them to an archive directory. This is only for a...

  • RE: File Time Only, no date

    Will not work

    The file names change daily.

    I want to copy only the files that are created between a certain time of day. Say between 1:30 PM and 2:00 PM

    No matter...

  • RE: File Timestamp

    Phil

    What about instead of the file timestamp of a date and time, I want to use only the time. Is there a way to strip off the date and compare...

  • RE: File Timestamp

    Thank you Phil

    I just figured it out right after I posted on here.

    What luck, I worked on this all day yesterday, and after walking away from this yesterday and looking...

  • RE: Log File Backup Size

    Sorry Dood

    That did not work.

    I have the file size in the table, I want to compare that file size with the actual file. Just something that I would like to...

  • RE: Management Studio "Log History" Retention

    I believe that the SQL jobs stores 254 rows of history.

    Check to make sure that the job has not fired off only two times. And also that someone has not...

  • RE: SubString Help

    Thanks Everyone

    That code does the trick

    I missed the last numeral 1

    That was totally throwing me for a loop

    Andrew SQLDBA

  • RE: SubString Help

    OK, how about the opposite:

    I would like to keep the path and do away with the file name:

    \\IP_Address\DirName\DirName\DirName\twProcessDB_20100819173001.trn

    I would like to have this returned:

    \\IP_Address\DirName\DirName\DirName

    Thanks

    Andrew SQLDBA

  • RE: SubString Help

    Perfect

    Thank you

    I did not think about using 'Reverse' that is what was holding me up, and mine was not working.

    Thanks again

    Andrew SQLDBA

Viewing 15 posts - 346 through 360 (of 695 total)