Re: SQL Statement
From: SriSamp (ssampath_at_sct.co.in)
Date: 05/13/04
- Next message: PRing: "Re: Cannot resolve collation conflict for concatenation operation"
- Previous message: Dan Guzman: "Re: Help me convince the dev manager. Please."
- In reply to: kent_prokopy_at_hotmail.com: "Re: SQL Statement"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 May 2004 18:07:43 +0530
The return type is a character. So you can store it into a character
variable and then use it to concatenate with other texts. Not sure if this
is what you meant below.
-- HTH, SriSamp Please reply to the whole group only! http://www32.brinkster.com/srisamp "kent_prokopy@hotmail.com" <anonymous@discussions.microsoft.com> wrote in message news:34724A68-6184-4859-A776-116E6C33F187@microsoft.com... > The statement you gave me is great, that you very much. Could you also show me how to get it to return as text. > > '040513' > > or how to concatinate it into text. > > SELECT CONVERT (VARCHAR(10), GETDATE(), 12) > > ----- SriSamp wrote: ----- > > SELECT CONVERT (VARCHAR(10), GETDATE(), 12) > -- > HTH, > SriSamp > Please reply to the whole group only! > http://www32.brinkster.com/srisamp > > "kent_prokopy@hotmail.com" <anonymous@discussions.microsoft.com> wrote in > message news:5C53FD95-EAC9-4B5C-B47F-ED84321D01CB@microsoft.com... > > Could some one please show me how to format the GetDate Function to > display just the date so it looks like this... > > yymmdd > >> Thank you > > Kent Prokopy > > >
- Next message: PRing: "Re: Cannot resolve collation conflict for concatenation operation"
- Previous message: Dan Guzman: "Re: Help me convince the dev manager. Please."
- In reply to: kent_prokopy_at_hotmail.com: "Re: SQL Statement"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|