Viewing 15 posts - 826 through 840 (of 7,187 total)
William Rayer - Tuesday, March 13, 2018 5:29 AM"lakhs of tables, stored procedures"What are lakhs of tables?
I think lakh is...
March 13, 2018 at 5:35 am
That's not the whole stored procedure definition, is it? The execution plan shows that there's a cursor involved. Also, do you have an example of the table parameter (@TableWaybillID) that...
March 13, 2018 at 4:36 am
Please specify exactly what you need the user to be able to do. First you said it was only for one particular database; now you seem to be saying that...
March 12, 2018 at 10:19 am
There's no reason to run SQL Server on an old operating system. You should use SQL Server 2016. I don't know what the individual benefits are, but I do know...
March 12, 2018 at 10:17 am
shamshad.ali - Monday, March 12, 2018 10:01 AMCan anyone do this?
just grant db_owner membership in the database in question
John
March 12, 2018 at 10:07 am
Do you have the option to change code? The SelectWaybillID stored procedure uses a cursor - probably dreadfully inefficient. Please will you post the full definition of the stored procedure,...
March 12, 2018 at 10:05 am
Sounds as if you may have a disk bottleneck. But I think you need a slightly more detailed analysis of your wait stats. Paul Randal's and Brent Ozar's blogs have...
March 12, 2018 at 9:30 am
What other applications run on the server? How much memory is in the server and what is max server memory set to in sys.configurations?
John
March 12, 2018 at 9:02 am
The first problem is that your table mytable doesn't appear in the query. The second is that your subquery isn't correlated to the outer query. Therefore, all rows in the...
March 12, 2018 at 7:33 am
Yes, or just grant db_owner membership in the database in question.
John
March 12, 2018 at 3:25 am
You're not going to learn anything if you get other people to do your homework for you, especially if they give you the wrong answer. The solution provided is incorrect...
March 12, 2018 at 3:11 am
The DESC in the ORDER BY clause only applies to the column it immediately follows. Try this:ORDER BY year DESC, month, date
John
March 9, 2018 at 9:16 am
March 9, 2018 at 8:28 am
Viewing 15 posts - 826 through 840 (of 7,187 total)