Viewing 15 posts - 871 through 885 (of 1,048 total)
Yes, PL.ChartNo is numeric...
LocationId+'-'+Chart_no will comes as 1-1 not ASD-12
Also,
how can I update as a Select and dropping the where clause adding in (L.locationID+'-'+P.Faccount+'-'+P.Fpatient) and (PL.LocationID+'-'+PL.Chart_No) as...
November 2, 2012 at 4:38 am
Jason,
I replace line with your lines as :
inner join PatientLocDtl PL ON PL.PatientID = PP.PatientID
AND L.LocationId=PL.LocationId
Where
(P.Faccount+'-'+P.Fpatient)=PL.Chart_No
But I am getting error as I was getting before-
Msg 245, Level 16, State 1,...
November 2, 2012 at 4:02 am
Arthur,
where(L.locationID+'-'+P.Faccount+'-'+P.Fpatient)=(PL.LocationID+'-'+PL.Chart_No)
is not working.
November 2, 2012 at 3:59 am
I think main conceron of slyvain was about to tell about the error :
"The maximum limit for index or statistics key column list is 16"
November 1, 2012 at 12:51 am
Nice Question in the start of the week 🙂
October 28, 2012 at 11:21 pm
One question, I am confused on this...
select ID, name name from person
select ID ID, name name from person
Both these statements dont give any error message and run successfully...
wht is it...
October 25, 2012 at 11:14 pm
how can we restricted a view to a particular user only?
October 22, 2012 at 9:14 am
Execute this code and you will get duplicate values in Identity values--
CREATE TABLE IdentTest
( Ident INT NOT NULL IDENTITY (1,1)
, varfield varchar(100)
)
INSERT INTO IdentTest VALUES ('xyz') -- <==...
October 22, 2012 at 12:42 am
Hi lokesh,
as you TRUNCATE the table then identity will be reset to 1 and now the ident value after a insert statement will be 1..
October 22, 2012 at 12:02 am
Viewing 15 posts - 871 through 885 (of 1,048 total)