Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
!empty() cell
Message
 
 
À
29/09/2007 12:15:12
Issam Mansour
Jordan Business Machines
Amman, Jordanie
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01257592
Message ID:
01257594
Vues:
11
You can use LEN() function as I showed in other thread.
... AND LEN(catcode) > 0
Also you should use single quotes for string literals in MS SQL Server. The " (double quote) can only be used as string literal delimiter when SET QUOTED_IDENTIFIER OFF, which is not default setting.

>
>I have the following statement this statement is part of S.P. :
>
>SET @L_SQLCMD='DECLARE TMPRecord CURSOR STATIC FOR '+
>'select TOP 1 CATCODE From IMS.CATEGORY WHERE YEAR = 2007 and catcode <> ""'
>
>exec @L_SQLCMD
>
>The ms sql not accept the "" for !empty value is there a way to work around
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform