Forum Replies Created

Viewing 15 posts - 5,041 through 5,055 (of 5,102 total)

  • RE: Intercepting Bulk Insert errors

    Error handling has always been IMHO the weakest point in SQL Server. I would use BulkInsert DTS Taks to handle the errors in an easier way!

    You could increase the MAX_ERROR...

  • RE: Stored Procedure error.

    Bay the way 8.00.194 is the RTM version of SQL Server.

    Don't you think you should update to SP3a?

  • RE: date/time formats

    SELECT Cast(Cast([decDate]+ 19000000 as char(8)) + ' ' +

    Stuff(Stuff(Right('000000'+ Cast([decTime]as varchar(6)),6),3,0,':'),6,0,':') as datetime)

    from FunnyDates

  • RE: QOD 17th Nov

    Ok, I got it wrong !?!? too. But I will have to join the rest of this posters because "VERSIONING" is something way past that functionality.

    Can you get rid...

  • RE: login failed in different domains

    make sure you can reach the server from that machine! it sounds like the client lost configuration info

  • RE: SENDING EMAILS USING MULTIPLE MAPI PROFILES

    Because you are using Exchange Mail and NOT internet mail you are authenticating with NT Account only and that's why you don't require password.

    I am glad I could help

  • RE: How do you capture the error string in tsql?

    Save @@ERROR in a @variable if is not 0 and then

    select description from master.dbo.sysmessages where error = @variable

    HTH

  • RE: xp_sqlagent_proxy_account gives "Access is denied"

    Make sure that the login you are using to execute xp_sqlagent_proxy_account have exec permissions on the procedure in the master!

  • RE: SQL Agent Process in Runnable even after KILLING

    Have a look at Q137983

  • RE: SENDING EMAILS USING MULTIPLE MAPI PROFILES

    1.The IIS account is not important for that, is the SQL Server Service Account the one that has to have the permissions

    2. The procedure is like this

    exec xp_stopmail -- Stop...

  • RE: Bulk Insert with multiple files

    quiker will be to do something like

    copy /b *.txt AllFiles.txt

    and then do Bulk insert on AllFiles.txt

    I am assuming all files are using same structure of course!

    Edited by - noeld on...

  • RE: Stored Proc and Master DB

    I don't know how are you using the parameter

    but this sholud helpyou going

     
    
    Declare @str varchar(200)
    SET @str = DB_NAME()--Assuming is going to be runned from...
  • RE: SENDING EMAILS USING MULTIPLE MAPI PROFILES

    1. You have to specify a password and make sure that the SQL Server account has access to that other Profile!

    2. Sendmail does NOT provides HTML capabilities 🙁

    HTH

  • RE: How to format DateTime?

    just get rid of the time part on the input and sample dates.

    Method1

    casting as int

    Cast(@inputDate1 as int)

    Method2

    remove time part

    @newinputdate = Cast(Convert(varchar(10),@inputDate, 101) as datetime)

    Method3

    you...

  • RE: Running a stored proc on table results

    Table data type can't be used as a parameter in stored procedures!

    you will have to create a loop to cyle through the table to either send an message per rep...

Viewing 15 posts - 5,041 through 5,055 (of 5,102 total)