Viewing 15 posts - 1,621 through 1,635 (of 5,111 total)
October 8, 2018 at 4:44 am
October 8, 2018 at 1:53 am
You could make it more succinct by using LEFT, but it's probably as efficient as you're going to get. Are you suffering performance issues with the ORDER BY then?
October 7, 2018 at 3:02 am
You have an error there at least, unexpected EOF (End Of File), so it's not quite the same.
October 7, 2018 at 2:15 am
October 6, 2018 at 9:47 am
You don't set it, it's a limitation. The maximum row size within SQL Server is 8060 bytes. Although you might have more per row if data for a varchar is...
October 6, 2018 at 8:38 am
There isn't a limit no, but with that many columns you may reach the limit of SQL Server for the maximum size per row.
October 6, 2018 at 8:10 am
Sorry for the "on topic" question, but my Google-fu is failing me, and some of you are (very likely) more informed on such matter than I am. Has anyone seen...
October 5, 2018 at 9:51 am
Lynn Pettis - Friday, October 5, 2018 8:03 AMSorry. Missed it.
No worries. To be honest, it's something that probably needs to...
October 5, 2018 at 8:10 am
October 5, 2018 at 7:56 am
SQL Server has a FORMAT function, so if you were doing this with a scalar value you could use:SELECT FORMAT(GETDATE(),'hh tt');
I don't, however, recommend applying that...
October 5, 2018 at 7:51 am
One method is to use CHARINDEX. Performance on a large dataset will (probably) not be very good, however. Doing lots of pattern matching on a string in SQL...
October 5, 2018 at 5:56 am
October 5, 2018 at 5:52 am
Viewing 15 posts - 1,621 through 1,635 (of 5,111 total)