Copilot
Votre assistant IA quotidien
Environ 5 880 résultats
    Votes positifs1Meilleure réponseanswered Aug 6, 2018 at 11:07

    Well you can do a TRY-CATCH. Something like the following:

    SET NOCOUNT ON

    CREATE TABLE #tmp(TestCol varchar(20))
    INSERT INTO #tmp VALUES('test')

    BEGIN TRY
    INSERT INTO #tmp VALUES('testtesttesttesttesttest')
    END TRY
    BEGIN CATCH

    DECLARE @nErrorNum INT;

    SELECT @nErrorNum = ERROR_NUMBER()

    IF @nErrorNum = 8152
    BEGIN
    RAISERROR('String is too long',10,1);
    END
    ELSE
    THROW
    Content Under CC-BY-SA license
    Ceci vous a-t-il été utile ?
  1. QString::toStdString() crashes on std::string destructor

  2. How to modify SQL Server Error Message - Stack Overflow

  3. Web17 janv. 2021 · DevNet Associate (Version 1.0) – DevNet Associate Module 1 Exam Answers. How to find: Press “Ctrl + F” in the browser and fill in whatever wording is in the question to find that question/answer. If the …

  4. Speedtest by Ookla – Apps on Google Play

  5. GitHub - manipulatio/testing: testtesttesttesttesttest

  6. OpenSSL Key and IV Padding - DZone

  7. OpenSSL Key and IV Padding | Noise

  8. TESTtesTtesTtesTtesTtesT - sat 83 - sat 83

  9. Tests de personnalité : mieux se connaître avec l'Etudiant - L'Etudiant

  10. Run test - Open Nettest

  11. Certains résultats ont été supprimés