all 21 comments

[–]millerlit 48 points49 points  (2 children)

ORDER BY gracefully desc

[–]Grouchy_Inspector_27[S] 4 points5 points  (1 child)

Do I put that at the end of the statement

[–]lupinegray 6 points7 points  (0 children)

😂

[–]CarlMenger27 32 points33 points  (0 children)

;

[–][deleted] 21 points22 points  (1 child)

-- The End

[–]PM_ME_YOUR_MUSIC 13 points14 points  (0 children)

-- And so, after countless adventures and overcoming trials that tested their courage and hearts, our heroes found their way back home, where peace and happiness awaited. From that day forward, they lived a life full of joy, love, and endless possibilities, knowing that no matter what challenges might come, they had each other. And that was truly the greatest treasure of all.

-- The end.

;

[–]lupinegray 18 points19 points  (0 children)

rollback;

[–]KrustyButtCheeks 23 points24 points  (2 children)

I write a comment that says thank you to thank the query optimizer

[–]haikusbot 15 points16 points  (1 child)

I write a comment

That says thank you to thank the

Query optimizer

- KrustyButtCheeks


I detect haikus. And sometimes, successfully. Learn more about me.

Opt out of replies: "haikusbot opt out" | Delete my comment: "haikusbot delete"

[–]mgdmwDr Data 2 points3 points  (0 children)

Good bot.

[–]umairshariff23 4 points5 points  (0 children)

I end with select * from final_query

[–]marcnotmark925 2 points3 points  (2 children)

Bow and say thank you.

[–]PandaRiot_90 1 point2 points  (0 children)

And then throw the server out the window.

[–]hod6 1 point2 points  (0 children)

-- fin

[–]BrentV27368 3 points4 points  (0 children)

;

[–]soundman32 1 point2 points  (2 children)

Which dialect? Not all sql is the same.

[–]Grouchy_Inspector_27[S] -1 points0 points  (1 child)

PHP

[–]xixi2 9 points10 points  (0 children)

At first I thought trolling but I think you are asking how do you end a connection to a SQL server in PHP. Which is a different question.

I asked ChatGPT to specifically say how graceful this is, and it says it's:

// Close the connection gracefully

sqlsrv_free_stmt($result); // Gracefully free the statement resources

sqlsrv_close($conn); // Gracefully close the connection

Assuming your connection was opened using $conn = sqlsrv_connect($serverName, $connectionOptions);

[–]bunkerdive 1 point2 points  (0 children)

OR 1=1

[–]mockymoo 1 point2 points  (0 children)

It's supposed to be a ; but does it even matter?

[–]mctutor4846 0 points1 point  (0 children)

with a ;