Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

mssql: declare newline character variable #352

Open
mkndn opened this issue Apr 6, 2018 · 0 comments
Open

mssql: declare newline character variable #352

mkndn opened this issue Apr 6, 2018 · 0 comments

Comments

@mkndn
Copy link

mkndn commented Apr 6, 2018

How do we generate script something like the following,

DECLARE @NewLineChar AS CHAR(2) = CHAR(13) + CHAR(10)

I know i can hard code CHAR(13) + CHAR(10) directly, but i would like it to be declared separately and then be use the variable in query.
Please help!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant