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...
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 5, 2012 at 4:43 am
easy onee 😛
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 5, 2012 at 4:36 am
Nice question 🙂
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 5, 2012 at 4:32 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?
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 5, 2012 at 2:46 am
Jeff,
I dont have any idea about dynamic SQL so can you plz help me in this...
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 4, 2012 at 11:23 pm
Nice question to start week with +1 🙂
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 4, 2012 at 11:11 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...
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 3, 2012 at 3:30 am
Nice and clean question..
Good discussion 😛
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 3, 2012 at 3:16 am
Nice Question..
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 3, 2012 at 3:06 am
There is one more link if anyone want to read about LEAD :
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 3, 2012 at 3:00 am
Nice explanation John...
I dont have SQL Server 2012 but learned a new intresting thing.. 🙂
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 3, 2012 at 2:54 am
Thanks Danny 🙂
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 3, 2012 at 1:36 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?
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
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 ...
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
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...
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 2, 2012 at 6:13 am
Viewing 15 posts - 856 through 870 (of 1,048 total)