Viewing 15 posts - 5,416 through 5,430 (of 15,381 total)
1 hour and 15 minutes until vacation. I am ready!!! We are taking the kids on a surprise trip to Branson for a few days. See you all next week.
March 18, 2014 at 1:30 pm
Or looking at your attempt maybe you want everything after the first occurrence of '-'?
If that is the case your code would work if you close the function.
select RIGHT(@String,LEN(@String)- CHARINDEX('-',@String))...
March 18, 2014 at 12:51 pm
dwilliscp (3/18/2014)
--RIGHT(col1,(LEN(col1)-6)) as col1,
I tried to fix it by using the below...
March 18, 2014 at 12:49 pm
joakim.fenno (3/18/2014)
ChrisM@Work (3/18/2014)
joakim.fenno (3/18/2014)
CREATE TABLE my_table (col1 nvarchar(25) NULL, bit_flag nvarchar(3) NULL)
INSERT INTO my_table VALUES('A', '100'), ('A', '001'),('B', '010'),('A', '001');
expected output from query :
A 101
B 011
The bit_flag column contains 12...
March 18, 2014 at 9:56 am
joakim.fenno (3/18/2014)
CREATE TABLE my_table (col1 nvarchar(25) NULL, bit_flag nvarchar(3) NULL)
INSERT INTO my_table VALUES('A', '100'), ('A', '001'),('B', '010'),('A', '001');
expected output from query :
A 101
B 011
The bit_flag column contains 12 flag (and...
March 18, 2014 at 9:27 am
joakim.fenno (3/18/2014)
But the function needs to work as an aggregate function.
I have to be able to execute...
March 18, 2014 at 8:48 am
Now that you have figured out how to convert your character data to a datetime I would HIGHLY recommend you change the datatype so you don't have to wrestle with...
March 18, 2014 at 7:57 am
domingo.sqlservercentral (3/18/2014)
J Livingston SQL (3/17/2014)
sample data would help us help you....do you know how to provide this?
No, I don't know. Do you mean about upload of database backup file? ...
March 18, 2014 at 7:53 am
karthik babu (3/18/2014)
March 18, 2014 at 7:48 am
raghuldrag (3/17/2014)
i m creating one google map application using asp.net with c# i had done also
now that marker ll be shown from database (lat,long)
depends on the lat,long i wanna...
March 18, 2014 at 7:41 am
joakim.fenno (3/18/2014)
I want to use it like the built in aggregate functions (MIN, MAX etc.)
SELECT dbo.bitwise_or(bit_string) FROM table
where bit_string is a...
March 18, 2014 at 7:39 am
sten.f.soerensen (3/18/2014)
March 18, 2014 at 7:32 am
dwain.c (3/18/2014)
I believe that this article might be relevant to your question:Creating a Date Range from Multiple Rows Based on a Single Date[/url]
As soon as I saw the title of...
March 18, 2014 at 7:18 am
OlyKLin (3/17/2014)
March 17, 2014 at 3:11 pm
OlyKLin (3/17/2014)
I have a lookup table:
Table A: basically dates every 30 days
1/1/2014
2/3/2014
3/3/2014
4/3/2014
I have Table b that has records and...
March 17, 2014 at 3:02 pm
Viewing 15 posts - 5,416 through 5,430 (of 15,381 total)