[Racine des codes] [Page précédente]

tester si une table temporaire existe

/SQL/tester si une table temporaire existe.sql
IF OBJECT_ID('tempdb..#fooPP') IS NOT NULL
BEGIN
    SELECT 'la table temporaire existe'
END
[edit]