Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Les fonctions Transact-SQL

8 réponses
Avatar
Igor2004
Mesdames et Messieurs,

Je bien voudrais vous proposer les fonctions Transact-SQL qui sont les
suivants

GETWORDCOUNT() Counts the words in a string
GETWORDNUM() Returns a specified word from a string
AT() Returns the beginning numeric position of the first occurrence of a
character expression within
another character expression, counting from the leftmost character
RAT() Returns the numeric position of the last (rightmost) occurrence of a
character string within
another character string
OCCURS() Returns the number of times a character expression occurs within
another character expression
PADL() Returns a string from an expression, padded with spaces or
characters to a specified length on the left side
PADR() Returns a string from an expression, padded with spaces or
characters to a specified length on the right side
PADC() Returns a string from an expression, padded with spaces or
characters to a specified length on the both sides
PROPER() Returns from a character expression a string capitalized as
appropriate for proper names
RCHARINDEX() Is similar to a built-in function Transact-SQL charindex but
the search of which is on the right

Veuillez prendre le fichier
http://www.universalthread.com/wconnect/wc.dll?LevelExtreme~2,2,27115

Veuillez agréer, Mesdames et Messieurs, l'expression de mes meilleurs
sentiments.

8 réponses

Avatar
Philippe T [MS]
Bonjour,

Vous êtes sur des NewsGroup ou des bénévols se mettent en quatre pour
solutionner vos problèmes.

Pour vos propositions d'évolutions, je pense qu'avec SQL 2005 vous pourrez à
souhait développer en C# (ou autre langage .NET) ces fonctions sans
problème. Il suffira de créer la DLL et d'utiliser une instruction CREATE
ASSEMBLY suivie d'un CREATE FUNCTION xxx AS EXTERNAL NAME xxx pour que votre
nouvelle fonction soit prise en compte par le moteur.

Cordialement.
----------------------------------------------------------------------
Philippe TROTIN - Microsoft Service France

"Igor2004" wrote in message
news:
Mesdames et Messieurs,

Je bien voudrais vous proposer les fonctions Transact-SQL qui sont les
suivants

GETWORDCOUNT() Counts the words in a string
GETWORDNUM() Returns a specified word from a string
AT() Returns the beginning numeric position of the first occurrence of a
character expression within
another character expression, counting from the leftmost character
RAT() Returns the numeric position of the last (rightmost) occurrence of a
character string within
another character string
OCCURS() Returns the number of times a character expression occurs within
another character expression
PADL() Returns a string from an expression, padded with spaces or
characters to a specified length on the left side
PADR() Returns a string from an expression, padded with spaces or
characters to a specified length on the right side
PADC() Returns a string from an expression, padded with spaces or
characters to a specified length on the both sides
PROPER() Returns from a character expression a string capitalized as
appropriate for proper names
RCHARINDEX() Is similar to a built-in function Transact-SQL charindex but
the search of which is on the right

Veuillez prendre le fichier
http://www.universalthread.com/wconnect/wc.dll?LevelExtreme~2,2,27115

Veuillez agréer, Mesdames et Messieurs, l'expression de mes meilleurs
sentiments.




Avatar
Med Bouchenafa
Merci beaucoup.
C'est vraiment une très bonne idée que de proposer dans ce forum des
routines comme celles-ci.
Cela nous permettra d'enrichir très vite une bibliothèque commune

--
Bien cordialement
Med Bouchenafa

"Igor2004" a écrit dans le message de
news:
Mesdames et Messieurs,

Je bien voudrais vous proposer les fonctions Transact-SQL qui sont les
suivants

GETWORDCOUNT() Counts the words in a string
GETWORDNUM() Returns a specified word from a string
AT() Returns the beginning numeric position of the first occurrence of a
character expression within
another character expression, counting from the leftmost character
RAT() Returns the numeric position of the last (rightmost) occurrence of a
character string within
another character string
OCCURS() Returns the number of times a character expression occurs within
another character expression
PADL() Returns a string from an expression, padded with spaces or
characters to a specified length on the left side
PADR() Returns a string from an expression, padded with spaces or
characters to a specified length on the right side
PADC() Returns a string from an expression, padded with spaces or
characters to a specified length on the both sides
PROPER() Returns from a character expression a string capitalized as
appropriate for proper names
RCHARINDEX() Is similar to a built-in function Transact-SQL charindex but
the search of which is on the right

Veuillez prendre le fichier
http://www.universalthread.com/wconnect/wc.dll?LevelExtreme~2,2,27115

Veuillez agréer, Mesdames et Messieurs, l'expression de mes meilleurs
sentiments.




Avatar
bruno reiter [MVP]
c'est intéressant de poster ces propositions, pour augmenter l'efficacité,
il est aussi possible de les envoyer à :



br

"Igor2004" wrote in message
news:
Mesdames et Messieurs,

Je bien voudrais vous proposer les fonctions Transact-SQL qui sont les
suivants

GETWORDCOUNT() Counts the words in a string
GETWORDNUM() Returns a specified word from a string
AT() Returns the beginning numeric position of the first occurrence of a
character expression within
another character expression, counting from the leftmost character
RAT() Returns the numeric position of the last (rightmost) occurrence of a
character string within
another character string
OCCURS() Returns the number of times a character expression occurs within
another character expression
PADL() Returns a string from an expression, padded with spaces or
characters to a specified length on the left side
PADR() Returns a string from an expression, padded with spaces or
characters to a specified length on the right side
PADC() Returns a string from an expression, padded with spaces or
characters to a specified length on the both sides
PROPER() Returns from a character expression a string capitalized as
appropriate for proper names
RCHARINDEX() Is similar to a built-in function Transact-SQL charindex but
the search of which is on the right

Veuillez prendre le fichier
http://www.universalthread.com/wconnect/wc.dll?LevelExtreme~2,2,27115

Veuillez agréer, Mesdames et Messieurs, l'expression de mes meilleurs
sentiments.




Avatar
Igor2004
Montréal, le 26 avril 2005

Messieurs,
J'aimerais vous remercier de l’avis favorable au sujet de mes
fonctions.
J`espère que les fonctions ne seront pas inutiles pour vous.
Veuillez agréer, Messieurs, l'expression de mes meilleurs sentiments.

Igor Nikiforov
Montréal (Québec)
Avatar
Igor2004
Montréal, le 27 avril 2005


Objet: La permission de publier votre avis au sujet de mes fonctions.
.
Monsieur Bouchenafa,
J'aimerais obtenir permission de publier votre avis au sujet de mes
fonctions sur une page d’Internet où est situés mes fonctions.
Exemple de publication :
» Merci beaucoup.
C'est vraiment une très bonne idée que de proposer dans ce forum des
routines comme celles-ci.
Cela nous permettra d'enrichir très vite une bibliothèque commune
--
Bien cordialement
Med Bouchenafa »

Veuillez agréer, Monsieur, l'expression de mes meilleurs sentiments.

Igor Nikiforov
Montréal (Québec)


"Med Bouchenafa" wrote:

Merci beaucoup.
C'est vraiment une très bonne idée que de proposer dans ce forum des
routines comme celles-ci.
Cela nous permettra d'enrichir très vite une bibliothèque commune

--
Bien cordialement
Med Bouchenafa

"Igor2004" a écrit dans le message de
news:
> Mesdames et Messieurs,
>
> Je bien voudrais vous proposer les fonctions Transact-SQL qui sont les
> suivants
>
> GETWORDCOUNT() Counts the words in a string
> GETWORDNUM() Returns a specified word from a string
> AT() Returns the beginning numeric position of the first occurrence of a
> character expression within
> another character expression, counting from the leftmost character
> RAT() Returns the numeric position of the last (rightmost) occurrence of a
> character string within
> another character string
> OCCURS() Returns the number of times a character expression occurs within
> another character expression
> PADL() Returns a string from an expression, padded with spaces or
> characters to a specified length on the left side
> PADR() Returns a string from an expression, padded with spaces or
> characters to a specified length on the right side
> PADC() Returns a string from an expression, padded with spaces or
> characters to a specified length on the both sides
> PROPER() Returns from a character expression a string capitalized as
> appropriate for proper names
> RCHARINDEX() Is similar to a built-in function Transact-SQL charindex but
> the search of which is on the right
>
> Veuillez prendre le fichier
> http://www.universalthread.com/wconnect/wc.dll?LevelExtreme~2,2,27115
>
> Veuillez agréer, Mesdames et Messieurs, l'expression de mes meilleurs
> sentiments.
>
>





Avatar
Igor2004
Montréal, le 27 avril 2005


Objet: La permission de publier votre avis au sujet de mes fonctions.

Monsieur Reiter,
J'aimerais obtenir permission de publier votre avis au sujet de mes
fonctions sur une page d’Internet où est situés mes fonctions.
Exemple de publication :
» c'est intéressant de poster ces propositions, pour augmenter l'efficacité,
il est aussi possible de les envoyer à :

Bruno Reiter [MVP] »

Veuillez agréer, Monsieur, l'expression de mes meilleurs sentiments.

Igor Nikiforov
Montréal (Québec)


"bruno reiter [MVP]" wrote:

c'est intéressant de poster ces propositions, pour augmenter l'efficacité,
il est aussi possible de les envoyer à :



br

"Igor2004" wrote in message
news:
> Mesdames et Messieurs,
>
> Je bien voudrais vous proposer les fonctions Transact-SQL qui sont les
> suivants
>
> GETWORDCOUNT() Counts the words in a string
> GETWORDNUM() Returns a specified word from a string
> AT() Returns the beginning numeric position of the first occurrence of a
> character expression within
> another character expression, counting from the leftmost character
> RAT() Returns the numeric position of the last (rightmost) occurrence of a
> character string within
> another character string
> OCCURS() Returns the number of times a character expression occurs within
> another character expression
> PADL() Returns a string from an expression, padded with spaces or
> characters to a specified length on the left side
> PADR() Returns a string from an expression, padded with spaces or
> characters to a specified length on the right side
> PADC() Returns a string from an expression, padded with spaces or
> characters to a specified length on the both sides
> PROPER() Returns from a character expression a string capitalized as
> appropriate for proper names
> RCHARINDEX() Is similar to a built-in function Transact-SQL charindex but
> the search of which is on the right
>
> Veuillez prendre le fichier
> http://www.universalthread.com/wconnect/wc.dll?LevelExtreme~2,2,27115
>
> Veuillez agréer, Mesdames et Messieurs, l'expression de mes meilleurs
> sentiments.
>
>





Avatar
Med Bouchenafa
A ma connaissance, tout ce qui se publie ici est publique et appartient à
tout le monde.
Pour ma part, je ne vois aucun inconvénient à ce que tu reprends ce que j'ai
écris ici

--
Bien cordialement
Med Bouchenafa

"Igor2004" a écrit dans le message de
news:
Montréal, le 27 avril 2005


Objet: La permission de publier votre avis au sujet de mes fonctions.
.
Monsieur Bouchenafa,
J'aimerais obtenir permission de publier votre avis au sujet de mes
fonctions sur une page d'Internet où est situés mes fonctions.
Exemple de publication :
» Merci beaucoup.
C'est vraiment une très bonne idée que de proposer dans ce forum des
routines comme celles-ci.
Cela nous permettra d'enrichir très vite une bibliothèque commune
--
Bien cordialement
Med Bouchenafa »

Veuillez agréer, Monsieur, l'expression de mes meilleurs sentiments.

Igor Nikiforov
Montréal (Québec)


"Med Bouchenafa" wrote:

Merci beaucoup.
C'est vraiment une très bonne idée que de proposer dans ce forum des
routines comme celles-ci.
Cela nous permettra d'enrichir très vite une bibliothèque commune

--
Bien cordialement
Med Bouchenafa

"Igor2004" a écrit dans le message
de
news:
> Mesdames et Messieurs,
>
> Je bien voudrais vous proposer les fonctions Transact-SQL qui sont les
> suivants
>
> GETWORDCOUNT() Counts the words in a string
> GETWORDNUM() Returns a specified word from a string
> AT() Returns the beginning numeric position of the first occurrence of
> a
> character expression within
> another character expression, counting from the leftmost character
> RAT() Returns the numeric position of the last (rightmost) occurrence
> of a
> character string within
> another character string
> OCCURS() Returns the number of times a character expression occurs
> within
> another character expression
> PADL() Returns a string from an expression, padded with spaces or
> characters to a specified length on the left side
> PADR() Returns a string from an expression, padded with spaces or
> characters to a specified length on the right side
> PADC() Returns a string from an expression, padded with spaces or
> characters to a specified length on the both sides
> PROPER() Returns from a character expression a string capitalized as
> appropriate for proper names
> RCHARINDEX() Is similar to a built-in function Transact-SQL charindex
> but
> the search of which is on the right
>
> Veuillez prendre le fichier
> http://www.universalthread.com/wconnect/wc.dll?LevelExtreme~2,2,27115
>
> Veuillez agréer, Mesdames et Messieurs, l'expression de mes meilleurs
> sentiments.
>
>







Avatar
bruno reiter [MVP]
sans problème, juste que c'est un avis personnel et pas en tant que MVP

br

"Igor2004" wrote in message
news:
Montréal, le 27 avril 2005


Objet: La permission de publier votre avis au sujet de mes fonctions.

Monsieur Reiter,
J'aimerais obtenir permission de publier votre avis au sujet de mes
fonctions sur une page d'Internet où est situés mes fonctions.
Exemple de publication :
» c'est intéressant de poster ces propositions, pour augmenter
l'efficacité,
il est aussi possible de les envoyer à :

Bruno Reiter [MVP] »

Veuillez agréer, Monsieur, l'expression de mes meilleurs sentiments.

Igor Nikiforov
Montréal (Québec)


"bruno reiter [MVP]" wrote:

c'est intéressant de poster ces propositions, pour augmenter
l'efficacité,
il est aussi possible de les envoyer à :



br

"Igor2004" wrote in message
news:
> Mesdames et Messieurs,
>
> Je bien voudrais vous proposer les fonctions Transact-SQL qui sont les
> suivants
>
> GETWORDCOUNT() Counts the words in a string
> GETWORDNUM() Returns a specified word from a string
> AT() Returns the beginning numeric position of the first occurrence of
> a
> character expression within
> another character expression, counting from the leftmost character
> RAT() Returns the numeric position of the last (rightmost) occurrence
> of a
> character string within
> another character string
> OCCURS() Returns the number of times a character expression occurs
> within
> another character expression
> PADL() Returns a string from an expression, padded with spaces or
> characters to a specified length on the left side
> PADR() Returns a string from an expression, padded with spaces or
> characters to a specified length on the right side
> PADC() Returns a string from an expression, padded with spaces or
> characters to a specified length on the both sides
> PROPER() Returns from a character expression a string capitalized as
> appropriate for proper names
> RCHARINDEX() Is similar to a built-in function Transact-SQL charindex
> but
> the search of which is on the right
>
> Veuillez prendre le fichier
> http://www.universalthread.com/wconnect/wc.dll?LevelExtreme~2,2,27115
>
> Veuillez agréer, Mesdames et Messieurs, l'expression de mes meilleurs
> sentiments.
>
>