Forum Replies Created

Viewing 15 posts - 121 through 135 (of 337 total)

  • RE: Backups

    Are you using SQL's native Backup utility? If so why don't you specify how many days old the backups can be? This way SQL will automatically delete the backup...

  • RE: How can I fiind what PROCs ran and what ones didn't.....?

    Check out SQL Profiler. In Management Studio it's under Tools -> Sql Profiler. You can trace all database activity. It'll tell you all sorts of good stuff!

    You can trace...

  • RE: @@RowCOunt with Temp Table

    Thanks for the reply I just realized I was looking at the wrong temp table (which had no data at that point in the query)... doh! I thought maybe it...

  • RE: Procedure is slower than select statement

    Thanks G2 and Mark!

    That was definitely the issue!!!!

  • RE: send_cdosysmail and attachments

    If you use the sp_DisplayOAErrorInfo which calls sp_hexidecmal and sp_OAGetErrorInfo (Extended System SP) it'll convert that HResult into a readable error.

    I'm pretty sure you'll have to create sp_DisplayOAErrorInfo...

  • RE: send_cdosysmail and attachments

    You need to capture the OA error output of the various methods being used. You may have an OA error but the email procedure won't display that info without the...

  • RE: Split a result by commas

    Jeff,

    Good article. I'll have to try that next opportunity I get!

  • RE: Split a result by commas

    If the data is going to be different lengths then the code I provided would not work although it can be modified to do so.

    As far as the function Lynn...

  • RE: Split a result by commas

    Here is one way to do it:

    declare @Acc varchar(100),@AccString varchar(100)

    set @AccString = 'Res1,Res2,Res3,Res4' --or select @AccString = Column from YourTable

    --Create Temp Table

    IF Object_ID ('#Array') is null

    BEGIN

    Create Table...

  • RE: Split a result by commas

    You can do this a few ways but it depends on the data that's being input.

    Do you know what kind of data is going to be input? Will it be...

  • RE: Converting and Cleaning Data in DTS

    Okay I figured it out. While the above command successfully runs but doesn't change the data the problem was I need to put the replace command in front of the...

  • RE: Email Subscription Fails When Attachment has many Pages

    That was a good suggestion. I totally forgot about email size.

    The attachment when I export it from the Web is only 220KB so It's small. However when viewed in the...

  • RE: Query output to an XML file

    aram,

    Are you referring to using the XML Datatype with the sp_MakeWebTask proc?

    I only specified -C (Chacter) with that proc so maybe that will work.

  • RE: Query output to an XML file

    Bob,

    Thanks for the reply.

    I am using SQL 2000.

    I am not sure about using ROOT with the FOR XML command. I didn't know that was an option... hopefully it's applicable...

  • RE: Query output to an XML file

    Fixed.

    AIf you include both carets it wipes out them and everything between them.

    I used "Closed Tag" to represent a ">"

Viewing 15 posts - 121 through 135 (of 337 total)