Viewing 15 posts - 856 through 870 (of 1,048 total)
can anyone tell me why first value without quotes will gives the error hile the value without quotes not giving any error...
November 5, 2012 at 4:43 am
if I used asc in Order By clausethen it will return only 1 row.. it will return 3 rows when there is desc in order by clause..
why is it so?
November 5, 2012 at 2:46 am
Jeff,
I dont have any idea about dynamic SQL so can you plz help me in this...
November 4, 2012 at 11:23 pm
Good Question..
Before giving answer I first read about WITH Schemabinding ON abd got to know that table name that we use in view statement should be wirte using schema...
November 3, 2012 at 3:30 am
November 3, 2012 at 3:00 am
Nice explanation John...
I dont have SQL Server 2012 but learned a new intresting thing.. 🙂
November 3, 2012 at 2:54 am
Jason,
the new columns that you created 'Compare1' and 'Compare2' are not using in where condition so, how the condition is creating to match those columns?
November 2, 2012 at 8:23 am
Jason,
I run your without making any changes and get the following error:
Msg 245, Level 16, State 1, Line 1
Conversion failed when converting the nvarchar value '1-1 ...
November 2, 2012 at 7:40 am
Jason,
I have changed my query as:
SELECT
(
PP.IsPatient = P.Fpatient,
PP.Gender = P.Fsex,
PP.MartialTypeID = P.Frelation,
PP.Lastvisit = P.Flastvisit,
PP.NxtVisit = P.Fnextvisit,
PP.LastTxNumber = P.Flasttxno,
PP.OldAcct = P.fOldAcct,
pp.ClaimGroup = P.fClaimGroup,
PP.ConsultDate = P.fConsultDate,PP.usedby=P.Fusedby,
PP.IsDeleted = P.Fdelete,
PP.CreatedDate = P.Fwhen,
PP.TrojanId = P.fTrojanId,
PP.PreferMtd...
November 2, 2012 at 6:13 am
Viewing 15 posts - 856 through 870 (of 1,048 total)