Jump to content

Search the Community

Showing results for tags '_sql.au3'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi I use _sql.au3 to connect to windows 2012. It works fine but I have problem using storage procedure. If I use sp in Autoit script for example $query1 = "exec PROCEDURE '1paramiter','2paramiter ' ;" if _SQL_Execute(-1,$query1) = $SQL_ERROR then Msgbox(0 + 16 +262144,"Error",_SQL_GetErrMsg()) Query using sp woks fine and return when is a error in query by key violation or other native sql errors. But if I want to raise my own custom error it’s not return by _SQL_GetErrMsg() regardless of error number or severity. It seems to works fine in Management Studio generate proper errors but no errors is return by $SQL_ERROR or _SQL_GetErrMsg()) in Autoit code. I tried both THROW and RAISERROR. Please tell me if is possibile to genarate custom errors Sorry for my English
×
×
  • Create New...