Viewing 15 posts - 9,106 through 9,120 (of 13,876 total)
So you want to trim from a certain point, and that point varies from one string to the next? Tough.
Can you describe the requirement more clearly please? Some examples would...
August 27, 2014 at 3:44 am
ronan.healy (8/27/2014)
hiI want to right trim from a certain point
can I use a rtrim with a substring
SUBSTRING (TaxLotDescription,1,3)
or whats the best way to do it
Left(Col1,[Number of chars to keep])
August 27, 2014 at 3:40 am
AarionSSQL (8/25/2014)
Could you tell me how to add database objects to BIDS Projects.
I am working on SSIS and have seen a project where the database object definitions such...
August 25, 2014 at 11:59 pm
Mr.Sahand (8/25/2014)
The rules are not too complicated to be done through T-SQL or Access query or VB scripting.
Although they are many in number. They are...
August 25, 2014 at 11:54 pm
Mr.Sahand (8/25/2014)
I have a number of MS access tables to transform to SQL. Some of these tables have datetime fields needed to go under some rather...
August 25, 2014 at 2:17 am
brad.mccollum (8/23/2014)
As an example, let's say my original Excel...
August 24, 2014 at 1:32 am
You can STUFF it!
DECLARE @Val1 varchar(5) = '12345'
declare @RetVal varchar(10)
set @RetVal = STUFF(@Val1,3,1,'A')
select @Val1
, @RetVal
August 23, 2014 at 11:38 am
rajeshjaiswalraj (8/23/2014)
August 23, 2014 at 10:48 am
Koen Verbeeck (8/22/2014)
Some posts suddenly have a different layout and you can't reply to them.Others are experiencing this issue as well...
Do the Gremlins got to SSC?
Yes. And suddenly, yours is...
August 22, 2014 at 12:54 am
bhavik.bk (8/21/2014)
you cant use it like you...
August 22, 2014 at 12:07 am
That is the design.
I'm not going to write the code for you - there are lots of C# loop and copy file examples on-line.
Please have an attempt and then come...
August 22, 2014 at 12:00 am
pcd_au (8/21/2014)
The solution I'm working on requires reading source data...
August 21, 2014 at 11:57 pm
I'd use a Script Task:
1) Read file names from table into an array.
2) For each array element:
a) perform the file-existence check:
i) If true,...
August 21, 2014 at 11:43 pm
Maybe this would be a slightly better WHERE clause (handles NULLs)?
WHERE NOT EXISTS ( SELECT B1.[BedDays]
...
August 21, 2014 at 2:10 am
Viewing 15 posts - 9,106 through 9,120 (of 13,876 total)