From NUMERIC to NVARCHAR in NetezzaNetezza SQL syntax to convert numeric YYYYMMDD format into dateHow do i convert date in Netezza to yyyymmdd from timestamp formatIBM Netezza, How to convert a varchar to a numeric with TO_NUMBER(…, …)Netezza Time datatype to OracleConvert numeric time value to string in NetezzaConcatenating Column Values into a Comma-Separated List in NetezzaType casting in NetezzaNetezza SQL convert VARCHAR to binary stringImport Unicode text files into netezza tableColumns to Rows --Netezza
Which household object drew this pattern?
The remote server returned an error: (401) Unauthorized: While uploading file in document library using App Based Token Authentication
Is my soulless catatonic body a valid target for the Imprisonment spell?
Why do all fields in a QFT transform like *irreducible* representations of some group?
Singleton Design Pattern implementation in a not traditional way
In an emergency, how do I find and share my position?
Why were the crew so desperate to catch Truman?
Why did this happen to Thanos's ships at the end of "Avengers: Endgame"?
Defense against attacks using dictionaries
Confirming resignation after resignation letter ripped up
Why don't we use Cavea-B
1980's sci fi book series, subspace is a sponge, young man in emergency suit can propel himself by sucking in the sponge stuff
Is using a hyperlink to close a modal a poor design decision?
Why is my Earth simulation slower than the reality?
Using `With[...]` with a list specification as a variable
Notepad++ - How to find multiple values on the same line in any permutation
Is “I am getting married with my sister” ambiguous?
Why were movies shot on film shot at 24 frames per second?
Would it be possible to have a GMO that produces chocolate?
Why did MS-DOS applications built using Turbo Pascal fail to start with a division by zero error on faster systems?
Why we don't have vaccination against all diseases which are caused by microbes?
Earth rotation discrepancy
What is the history of the university asylum law?
If all stars rotate, why was there a theory developed, that requires non-rotating stars?
From NUMERIC to NVARCHAR in Netezza
Netezza SQL syntax to convert numeric YYYYMMDD format into dateHow do i convert date in Netezza to yyyymmdd from timestamp formatIBM Netezza, How to convert a varchar to a numeric with TO_NUMBER(…, …)Netezza Time datatype to OracleConvert numeric time value to string in NetezzaConcatenating Column Values into a Comma-Separated List in NetezzaType casting in NetezzaNetezza SQL convert VARCHAR to binary stringImport Unicode text files into netezza tableColumns to Rows --Netezza
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
How convert a value NUMERIC(18,0) to NVARCHAR(10) in Netezza?
I have the column GL2RDAP with a NUMERIC(18,0) value and I need to transform in NVARCHAR(10)
netezza
add a comment |
How convert a value NUMERIC(18,0) to NVARCHAR(10) in Netezza?
I have the column GL2RDAP with a NUMERIC(18,0) value and I need to transform in NVARCHAR(10)
netezza
add a comment |
How convert a value NUMERIC(18,0) to NVARCHAR(10) in Netezza?
I have the column GL2RDAP with a NUMERIC(18,0) value and I need to transform in NVARCHAR(10)
netezza
How convert a value NUMERIC(18,0) to NVARCHAR(10) in Netezza?
I have the column GL2RDAP with a NUMERIC(18,0) value and I need to transform in NVARCHAR(10)
netezza
netezza
asked Mar 27 at 16:39
NoyzwareNoyzware
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
to_char() function should do the trick
This is a link to the manual pages: https://www.ibm.com/support/knowledgecenter/en/SSULQD_7.2.1/com.ibm.nz.dbu.doc/r_dbuser_ntz_sql_extns_conversion_funcs.html
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55382366%2ffrom-numeric-to-nvarchar-in-netezza%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
to_char() function should do the trick
This is a link to the manual pages: https://www.ibm.com/support/knowledgecenter/en/SSULQD_7.2.1/com.ibm.nz.dbu.doc/r_dbuser_ntz_sql_extns_conversion_funcs.html
add a comment |
to_char() function should do the trick
This is a link to the manual pages: https://www.ibm.com/support/knowledgecenter/en/SSULQD_7.2.1/com.ibm.nz.dbu.doc/r_dbuser_ntz_sql_extns_conversion_funcs.html
add a comment |
to_char() function should do the trick
This is a link to the manual pages: https://www.ibm.com/support/knowledgecenter/en/SSULQD_7.2.1/com.ibm.nz.dbu.doc/r_dbuser_ntz_sql_extns_conversion_funcs.html
to_char() function should do the trick
This is a link to the manual pages: https://www.ibm.com/support/knowledgecenter/en/SSULQD_7.2.1/com.ibm.nz.dbu.doc/r_dbuser_ntz_sql_extns_conversion_funcs.html
answered Mar 28 at 6:22
Lars G OlsenLars G Olsen
8545 silver badges9 bronze badges
8545 silver badges9 bronze badges
add a comment |
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55382366%2ffrom-numeric-to-nvarchar-in-netezza%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown