Viewing 15 posts - 181 through 195 (of 623 total)
This works
SELECT
CONVERT(decimal(20,6),Column2)
FROM ....
WHERE column1 <> 'abc'
June 19, 2013 at 11:33 am
Lowell's suggestion would work fine for this. Can you post up a more realistic version of your query? There are ways to simplify complex conditional logic. Use a tvf if...
June 18, 2013 at 4:09 pm
I actually need to pass multiple parameters so CASE logic would probably get really dense. I am going to look at a multi-statement table-valued function.
I will be joining multiple tables...
June 17, 2013 at 4:05 pm
Check you max server memory configuration. This is probably entirely coincidental but these error messages seems to have gone away for me after I increased my C drive space, it...
June 14, 2013 at 1:23 pm
Thanks, interesting. I wouldn't have thought to use cross apply.
June 14, 2013 at 8:24 am
I agree on the database shrinking but I with limited DBA resources available the standard SQL server maintenance plans are in effect.
June 3, 2013 at 8:59 am
Restated the instance but the restart failed
32(The process cannot access the file because it is being used by another process.)
D:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\master.mdf...
June 3, 2013 at 12:11 am
Also the first occurrence of the 'Backup, file manipulation operations..' error was when the blasted maintenance plan attempted its weekly shrink.
Source: Shrink Database Task ...
June 2, 2013 at 11:29 pm
I am seeing this in my logs.
I wonder if ConnUpdateStartExecutionDate is the process which updates the next run date, it failed and thus my next run date was in the...
May 30, 2013 at 4:23 pm
I took a screenshot before deleting. Attached.
May 30, 2013 at 3:45 pm
I deleted and recreated the schedule and its running fine now. It may have been my account nearing its password expiration but I have other jobs with the same account...
May 29, 2013 at 8:21 am
I need help in writing a job description for a senior administrative DBA. Can someone suggest an appropriate forum on SSC.com where I can do this?
May 24, 2013 at 2:59 pm
Multiple jobs will give you greater flexibility if you need to rerun a job or change the schedule. If the procedures are closely functionally related I would create a job...
May 23, 2013 at 10:34 am
Thanks, this definitely set me in the correct direction.
The JOIN using BETWEEN is what I was missing. I started thinking about using a tally table but that was over complicating...
May 22, 2013 at 1:27 pm
You can use OPENROWSET to do ad hoc distributive queries if the remote server is configured to allow this.
May 16, 2013 at 8:50 am
Viewing 15 posts - 181 through 195 (of 623 total)