Viewing 15 posts - 106 through 120 (of 1,219 total)
I don't what you did, but I did this. On my SQL 2008 instance I ran:
CREATE TABLE objects(id int NOT NULL, name varbinary(400) NOT NULL)
INSERT objects...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 25, 2020 at 1:00 pm
Best is probably to do the pivoting client-side. In that case there will be no risk for SQL injection!!
As it happens, I also have some text about how to write...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 25, 2020 at 7:46 am
You create a certificate and sign the procedure with the certificate. Then you create a user from the certificate and grant that user SELECT permission on the table in question....
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 25, 2020 at 6:38 am
And how do you expect us to be able to help you when you don't share any information at all? Permit me to point out that this is a forum...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 19, 2020 at 8:41 am
Because Brian is smarter than me! 🙂
Seriously, we don't see your actual table, nor do we know your indexes, so it is difficult to answer. However, keep in mind that...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 18, 2020 at 7:08 am
Your problem is a little complicated since your text columns lists on two levels. Since this is more of a presentation issue, maybe it should be done in the presentation...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 17, 2020 at 8:23 pm
I guess then that Service Broker is actually used in production. And the message comes from the production environment, but cannot be processed because of this error.
Did you change the...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 12, 2020 at 8:43 am
Thanks, Erland... I missed it. I'll be back. I'm starting to think you might have been right, though. I showed the Op the "easy way for understanding" with the...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 9, 2020 at 5:37 pm
Yeah, all I get for tsql_text is "Unable to retrieve SQL text".
Extended Events in SQL 2008 was a little half-baked, and things like capturing what is executed definitely works better...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 9, 2020 at 4:09 pm
Profiler is of course a really bad idea, but why would a server side Trace be impossible?
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 8, 2020 at 7:03 pm
Jeff, he has already answered which version he has: SQL Express 2012 SP1. (So, Gaurav, you should apply the latest Service Pack for SQL 2012, which is SP4!)
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 2, 2020 at 6:48 pm
Edit: When you say, "SQL Server may still opt to only assign the variable once.", are you indicating that SQL Server may not only get the order wrong but...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 2, 2020 at 6:17 pm
3. What would cause or allow SQL Server to ignore an explicit ORDER BY clause when a specific row goal has been established?
How would an ORDER BY or TOP...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 2, 2020 at 4:34 pm
But here I still have a thing that is missing.
The list of all location is coming that's fine, but also I need the full list of Assets also (I marked...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 2, 2020 at 4:29 pm
Erland - As written, you are absolutely correct. That said, it is, however, easily corrected by by simply adding TOP(N) and ORDER BY clauses. See test below...
No, I maintain...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 2, 2020 at 12:37 pm
Viewing 15 posts - 106 through 120 (of 1,219 total)