Viewing 15 posts - 13,876 through 13,890 (of 15,381 total)
Walton (9/30/2011)
Thank you Sean,We are not running the query SSMS we put query itself in some application which will take select statment only.
Don't be so sure about that. 😉 Try...
September 30, 2011 at 1:38 pm
With a temp table this is simple.
create table #MyVals(RowID int identity, returnVal int)
insert #MyVals exec my_proc @para1
insert #MyVals exec my_proc @para2
insert #MyVals exec my_proc @para3
select * from #MyVals order by...
September 30, 2011 at 1:26 pm
1)List the Logins which are disabled
select * from sys.server_principals where is_disabled = 1
2)List are logins which have not been used in past 180 days.
Aside from a login trace I...
September 30, 2011 at 1:23 pm
Pretty sparse on the details...so you can't create a temp table (that is a strange mandate), no looping (good idea to avoid looping whenever possible).
So this is like calling the...
September 30, 2011 at 1:14 pm
You're right. That is totally unclear. Can you explain what you mean a bit more clearly?
September 30, 2011 at 12:59 pm
YSLGuru (9/30/2011)
Sean Lange (9/22/2011)
September 30, 2011 at 12:56 pm
You said you have errors. Would you care to share those?
September 30, 2011 at 9:25 am
Realize the reason nobody is willing to help is the same reason you don't want to deal with it. That code is a mess. We don't have the tables or...
September 30, 2011 at 9:18 am
Maybe some ddl, business rules, clear explanation...seems all your posts today are lacking the most important thing to get some help, details.
September 30, 2011 at 9:01 am
Some others may weigh in with their opinions but I think you will find it easier to have a separate database for each client in the long run. From the...
September 30, 2011 at 8:26 am
seftest_09 (9/29/2011)
table1: (topicID, questionID) where topicID is the primary key. For each topicID, there are many questionID's.
Now,...
September 29, 2011 at 1:48 pm
Select stateName, stateId
union all
select '--Select All--', null
from USStates order by stateName
That will get you the "empty" row for select all.
September 29, 2011 at 12:52 pm
No problem. That get you what you need then?
September 29, 2011 at 11:00 am
You have to add an extra ' to make it work.
select 'don''t'
--edit sadly a typo in so few words. 🙂
September 29, 2011 at 10:40 am
Viewing 15 posts - 13,876 through 13,890 (of 15,381 total)