Viewing 15 posts - 211 through 225 (of 14,952 total)
Since SSMS is designed to inherit that kind of thing from Windows, I think the only solution would be to run SSMS in a virtual computer, with the localization set...
January 7, 2013 at 1:29 pm
Assuming "correct results" means dates between the two variable values, including the end-date value, then yes.
As mentioned, using <= @EndDate can give odd results.
For example:
DECLARE @T TABLE
...
January 7, 2013 at 1:25 pm
I'm not entirely clear on what you're asking.
Do you need a way to monitor SQL Server memory use?
Or
Do you need a T-SQL script that will consume a huge amount of...
January 7, 2013 at 1:12 pm
I don't think that's an issue with SQL Server. I think that's an issue with Management Studio. Is the workstation you're running queries on set to the proper...
January 7, 2013 at 12:57 pm
paul.j.kemna (1/7/2013)
DECLARE @StartDate as date
SET @StartDate = some calculated date
DECLARE @EndDate as date
SET @EndDate = another calculated date
CONVERT([varchar](10), MyDatetimeColumn, 101) AS MyDate
...
WHERE MyDate >=...
January 7, 2013 at 12:49 pm
There's a lot of data out there about how to build and maintain hierarchies in SQL Server.
First question is, are you using SQL 2008, as per the forum you posted...
January 7, 2013 at 12:35 pm
There can be a couple of reasons to rebuild vs reorganize, but you're right that the most usual reason is fragmentation level.
Rebuilding also rebuilds stats, which is often a very...
January 7, 2013 at 11:47 am
Email on SQL 2005 and later is an asynchronous process. Even with a wrong address, that won't stop a job, it just enters an error in a log table...
January 7, 2013 at 11:45 am
I seem to remember being able to get Management Studio to connect to SQL 2000. I haven't administered an SQL 2000 server in a while, so I could be...
January 7, 2013 at 11:42 am
Eric M Russell (1/7/2013)
GSquared (1/7/2013)
Eric M Russell (1/7/2013)
January 7, 2013 at 11:40 am
"When to index" isn't a question of the query. Not really. It's a question of what you're trying to do.
There's no way to tell, from what you wrote,...
January 7, 2013 at 11:34 am
Yes. It's development in production. It will bite you, sooner or later.
Develop on the dev machine. Get a copy of SQL Server Developer Edition ($43 on Amazon),...
January 7, 2013 at 11:32 am
If you mean something like:
WHERE MyDateTimeColumn >= CONVERT(VARCHAR(25), MyOtherDateTimeColumn, 101)
AND MyDateTimeColumn < CONVERT(VARCHAR(25), YetAnotherDateTimeColumn, 101)
Then, yes, that will work. It'll be inefficient, but it will work.
January 7, 2013 at 10:15 am
Fun.
We have a third party hosting solution for one of our production databases and our web servers. Because of non-standard backup retention policies designed by my predecessor, if I...
January 7, 2013 at 9:31 am
Eric M Russell (1/7/2013)
January 7, 2013 at 9:28 am
Viewing 15 posts - 211 through 225 (of 14,952 total)