Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exporting to Excel
Message
De
11/10/2021 11:26:05
 
 
À
10/10/2021 23:56:06
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01682467
Message ID:
01682479
Vues:
42
>Come on, permutating the workable T-SQL should not take long
>give us a clue what differentiates working and not working solutions

CHAR(34)+substring(" " +Table.Field, 2, 999999)+CHAR(34)

Works

CHAR(34)+rtrim(Table.Field)+CHAR(34)

Works

CHAR(34)+cast(Table.Field as ...)+CHAR(34)

Works

CHAR(34)+stuff(Table.Field, with no working, "whatever")+CHAR(34)

Can't make this one work.

CHAR(34)+stuff(Table.Field, working, "whatever")+CHAR(34)

Can't make this one work.

CHAR(34)+Table.Field+CHAR(34)

Also works and simpler, but, I need to REPLACE quotes inside the content with a blank so it won't affect the delimiters. I still don't understand why this didn't work in the first place. Now, it does.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform