Viewing 15 posts - 7,291 through 7,305 (of 15,381 total)
M Joomun (8/5/2013)
Yes, thanks Sean. Changing the dataype has worked.
Glad that worked for you. More importantly, do you understand why that worked?
August 5, 2013 at 8:12 am
M Joomun (8/5/2013)
I'm using the procedure to return results to an Access 2010 .adp:
I would like to return a result if the user enters the following:
The search criteria SubjectNumber...
August 5, 2013 at 7:53 am
Duplicate post. direct replies here. http://www.sqlservercentral.com/Forums/Topic1480760-3077-1.aspx
August 5, 2013 at 7:30 am
madsovenielsen (8/4/2013)
That query looks overly complex, is it not possible to use IF ELSE instead of the switch case?
It really isn't that complex. You could instead choose to not use...
August 5, 2013 at 7:18 am
riya_dave (8/2/2013)
also if there is duplicate example
id pcondition scondition
1 sa ...
August 2, 2013 at 2:48 pm
riya_dave (8/2/2013)
u r updating cte i need to update customecode table
Did you actually notice what happens when you do that? It updates the base table. 🙂
August 2, 2013 at 2:47 pm
riya_dave (8/2/2013)
but i dont need select ,i just need update statement, the store proc should not have select
So turn the select into an update. 😉
;with SortedData as
(
select cc.*, s.SortOrder, ROW_NUMBER()...
August 2, 2013 at 1:26 pm
Thanks! That makes it so that those of us helping have enough information to work with. I took the liberty of turning your sort logic into a table too so...
August 2, 2013 at 1:00 pm
heh I forgot the semicolon in my post. Alan you don't need to do this with a subselect, just a simple query works.
SELECT cEmail + ';'
FROM #people
FOR XML PATH('')
August 2, 2013 at 12:40 pm
If you don't need any grouping and just simply want all emails from that table into a single column you can do that like this.
select People.cEmail
from dbo.People
for xml path('')
If...
August 2, 2013 at 12:16 pm
riya_dave (8/2/2013)
i am trying to explain it here
Why do you find it so difficult to read the article about best practices? Why is it so difficult to take a few...
August 2, 2013 at 12:08 pm
rocky_498 (8/2/2013)
Yes you guys are right good idea to change D.Type.
Sometime not a good idea to argue with Manager about...
August 2, 2013 at 10:40 am
rocky_498 (8/2/2013)
Year could be 2013 or 2012 or...
August 2, 2013 at 10:30 am
taigovinda (8/2/2013)
August 2, 2013 at 10:28 am
sundar329 (8/2/2013)
We have already created linked server now we cannot re-create the linked server. Is there any other possibilities to restrict linked server access for particular login alone.
No need to...
August 2, 2013 at 10:25 am
Viewing 15 posts - 7,291 through 7,305 (of 15,381 total)