Viewing 15 posts - 9,181 through 9,195 (of 26,490 total)
tom.moore.777 89426 (12/11/2012)
I am aware...
December 11, 2012 at 5:37 pm
This seems to work:
create table #TestTable(
TestStr varchar(10)
);
go
insert into #TestTable
values ('5+'),('1+'),('3-');
go
select * from #TestTable where TestStr like '%+%';
go
drop table #TestTable;
go
December 11, 2012 at 5:33 pm
AndrewSQLDBA (12/11/2012)
I am attempting to query a column that the data has a plus sign. I know there is data, but nothing.
I have tried multiple wildcards, but still nothing...
December 11, 2012 at 5:30 pm
kounslr (12/11/2012)
December 11, 2012 at 5:23 pm
Going out on a limb here, but I think it is because the connection is broken (or not established) even though it is not severity 20 or higher:
Errors that have...
December 11, 2012 at 8:47 am
Just some food for thought:
declare @TestString varchar(8000) = '30;38469|31;38470|32;38471|33;38472|34;38473|35;38474|36;38475|37;38476|38;38477|';
select
max(case ds2.ItemNumber when 1 then ds2.Item else '' end) as field1,
max(case ds2.ItemNumber when 2...
December 11, 2012 at 4:09 am
karthik M (12/10/2012)
any other approach which will resolve this issue by using only one function or without using any functions?
If you don't count the functions inside the function, this one:
IF...
December 11, 2012 at 3:54 am
Just some food for thought:
declare @sample table (id int, [type] char(1));
insert @sample select 1,'A' ;
insert @sample select 1,'B';
insert @sample select 2,'A';
insert @sample select 3,'B';
insert @sample select 4,'D';
with ReqIdsTypes as (
select...
December 11, 2012 at 3:45 am
Food for thought:
CREATE TABLE #LOGGING_DATA (
STAFF_MBR varchar(15),
SERVICE_DATE date,
PATIENT varchar(15),
START_TIME time,
END_TIME time,
PATIENT_MINUTES int
);
INSERT INTO #LOGGING_DATA
SELECT 'SUZY STAFF', '06/16/11', 'JOHNNY', '10:00', '10:30', 30 UNION ALL--for staff_mins would count this as 30
SELECT 'SUZY...
December 11, 2012 at 3:18 am
The SSC Steelers move on to play Ditka and the SQL Bolts move on to play Orange Engineers in the semi-finals for the championship! On any given Sunday, anything...
December 10, 2012 at 9:51 pm
prathibha_aviator (12/10/2012)
"!Next?" (1994)
"#1 Single" (2006)
"#ByMySide" (2012)
"#Follow" (2011)
"#nitTWITS" (2011)
"$#*! My Dad Says" (2010)
"$1,000,000 Chance of a Lifetime" (1986)
"$100 Makeover" (2010)
"$100 Taxi Ride" (2001)
"$100,000 Name That Tune" (1984)
Above...
December 10, 2012 at 9:30 pm
Sample data and expected result, please.
December 9, 2012 at 1:04 pm
Modified my code to update the table:
CREATE TABLE dbo.UpdateGaps(
MachineID int NOT NULL,
RecordedDate datetime NOT NULL,
Pressure float NULL,
CONSTRAINT PK_UpdateGaps PRIMARY KEY...
December 9, 2012 at 12:34 am
CELKO (12/8/2012)
A lot of critics, but thanks for that! Will try to use your suggestions in my following posts.
Getting toasted by me is a ritual of passage in...
December 8, 2012 at 8:43 pm
Viewing 15 posts - 9,181 through 9,195 (of 26,490 total)