Viewing 15 posts - 3,196 through 3,210 (of 26,490 total)
ChrisM@Work (12/15/2016)
Indianrock (12/14/2016)
December 15, 2016 at 11:05 am
TheSQLGuru (12/14/2016)
December 14, 2016 at 6:03 pm
Luis Cazares (12/14/2016)
Handle the quotes correctly on Scott's and Lynn's examples. You might end with strings with the value 'NULL' instead of NULLs for the columns....
December 14, 2016 at 2:41 pm
This is what make SSC so great. The multiple solutions offered for a single problem.
December 14, 2016 at 2:29 pm
junk.mail291276 (12/14/2016)
I have a stored procedure that takes a project ID as a parameter and returns a list of results on that project. Now what I'd like to do is...
December 14, 2016 at 2:24 pm
Jacob Wilkins (12/14/2016)
It's less the number of earth-round-the-sun circuits completed and more my lack of any sort of graceful...
December 14, 2016 at 2:18 pm
Jacob Wilkins (12/14/2016)
Just means two people beat me, so I'm even older and slower than...
December 14, 2016 at 2:11 pm
Jacob Wilkins (12/14/2016)
Lynn Pettis (12/14/2016)
Jacob Wilkins (12/14/2016)
December 14, 2016 at 2:07 pm
Jacob Wilkins (12/14/2016)
December 14, 2016 at 2:02 pm
This works:
DECLARE @startDate DATETIME,
@endDate DATETIME,
@Description VARCHAR(10),
@Code...
December 14, 2016 at 2:00 pm
Doug.F (12/14/2016)
SELECT
[description],
CASE WHEN startDate IS NULL
THEN
CASE WHEN endDate IS NULL
THEN '(''' + [description] + ''',''' + 'NULL' + ''',' + '''' + 'NULL' + ''',''' + code...
December 14, 2016 at 1:49 pm
First minor change to the code you posted earlier:
SELECT DISTINCT TOP 2000
CollateralGroupRequest02.SERVICE_REQUEST_ID AS PrimaryKey ,
...
December 14, 2016 at 1:41 pm
This is what is going to kill you in trying to improve the code:
tcronin 95651 (12/6/2016)
3rd party app no choice can't change code can change indexes
Changing indexes is not always...
December 13, 2016 at 9:16 am
One, is there a difference cpu/elapsed time between the queries?
Two, scans are not always bad.
December 13, 2016 at 7:43 am
Viewing 15 posts - 3,196 through 3,210 (of 26,490 total)