Viewing 15 posts - 1 through 15 (of 21 total)
May 9, 2018 at 4:29 am
Phil Parkin (10/13/2013)
A brief Google search led me to this [/url]article.It's not difficult, but it's much easier (and almost certainly faster) if you can do this in T-SQL instead.
thanks for...
October 13, 2013 at 8:52 am
mister.magoo (9/5/2013)
CREATE FUNCTION FormatLakhCrores (@number SQL_VARIANT,@conversion smallint)
RETURNS TABLE
WITH SCHEMABINDING
AS
--= Function to format a number using the Lakh/Crores style
--= Written 06 Sept 2013 Mister Magoo
--= Permission granted for...
September 6, 2013 at 2:45 pm
Luis Cazares (9/5/2013)
But if the column type is money, then you can use CONVERT...
September 5, 2013 at 3:45 pm
Hi,
We use Informatica for reporting the data and we are able to do it in Informatica. But I am unable to do it in SQL.
September 5, 2013 at 1:21 pm
Old Hand Pls suggest me ur code so that it will be useful for me to proceed..
June 28, 2013 at 1:44 pm
If we have any other way to achieve the what I desired please suggest me..
What I need in the end is I have to achieve the Proper case functionality Through...
June 28, 2013 at 12:39 pm
sgmunson (5/6/2013)
May 6, 2013 at 2:31 pm
sgmunson (4/25/2013)
May 6, 2013 at 2:12 am
dg227 (4/24/2013)
May 6, 2013 at 2:09 am
manibad (4/19/2013)
the code is:
((SUBSTRING(Variable,3,1)=="/"&&SUBSTRING(Variable,6,1)=="/")||
(SUBSTRING(Variable,3,1)=="/"&&SUBSTRING(Variable,5,1)=="/")||
(SUBSTRING(Variable,2,1)=="/"&&SUBSTRING(Variable,4,1)=="/")||
(SUBSTRING(Variable,2,1)=="/"&&SUBSTRING(Variable,5,1)=="/")||
(SUBSTRING(Variable,3,1)=="-"&&SUBSTRING(Variable,6,1)=="-")||
(SUBSTRING(Variable,3,1)=="-"&&SUBSTRING(Variable,5,1)=="-")||
(SUBSTRING(Variable,2,1)=="-"&&SUBSTRING(Variable,4,1)=="-")||
(SUBSTRING(Variable,2,1)=="-"&&SUBSTRING(Variable,5,1)=="-"))?
(DT_STR,8,1252)(REPLACE((DT_WSTR,10)(DT_DBDATE)Variable,"-","")):REPLICATE(" ",8)
but here in this code i have a glitch..
the glitch is...
April 19, 2013 at 4:48 pm
I found a method to achieve my goal in derived column in SSIS.
the code is:
((SUBSTRING(Variable,3,1)=="/"&&SUBSTRING(Variable,6,1)=="/")||
(SUBSTRING(Variable,3,1)=="/"&&SUBSTRING(Variable,5,1)=="/")||
(SUBSTRING(Variable,2,1)=="/"&&SUBSTRING(Variable,4,1)=="/")||
(SUBSTRING(Variable,2,1)=="/"&&SUBSTRING(Variable,5,1)=="/")||
(SUBSTRING(Variable,3,1)=="-"&&SUBSTRING(Variable,6,1)=="-")||
(SUBSTRING(Variable,3,1)=="-"&&SUBSTRING(Variable,5,1)=="-")||
(SUBSTRING(Variable,2,1)=="-"&&SUBSTRING(Variable,4,1)=="-")||
(SUBSTRING(Variable,2,1)=="-"&&SUBSTRING(Variable,5,1)=="-"))?
(DT_STR,8,1252)(REPLACE((DT_WSTR,10)(DT_DBDATE)Variable,"-","")):REPLICATE(" ",8)
but here in this code i have a glitch..
the glitch is if...
April 19, 2013 at 4:33 pm
thanks for everyone who have replied..
Actually i am not in a position to work on SQl or Script task and code the data to achieve my destiny..i can do it...
April 18, 2013 at 7:26 am
SORRY For guiding you wrong..i need to throw those formats as string literals in text files and not loading those in tables...
March 2, 2013 at 12:42 pm
I have to work on SSIS to get the first day of following month and the output should be as string value.
Input:getdate()
Output:Firstday of the following month
format of output is=yyyymmdd
Sorry for...
February 12, 2013 at 1:40 pm
Viewing 15 posts - 1 through 15 (of 21 total)