Viewing 15 posts - 16 through 30 (of 62 total)
You need to use DATEPART with weekday to determine which day of the week it is. Also, you might consider a calendar table to determine holidays as well.
February 10, 2015 at 7:06 am
Jeff, the output could be a single delimited line.
This is a 'one time thing' so I ended up getting it to work with something similar to Luis's suggestion....
December 10, 2014 at 7:04 pm
Thanks for the lead, I'll take a look in that direction.
December 10, 2014 at 1:03 pm
It looks like it might be a registry issue. There don't appear to be DefaultFile and DefaultLog entries in the standard location. Thanks for pointing me down the...
December 2, 2014 at 8:25 am
Lowell I can grab them that way and might if need be, but ideally in powershell. Its pretty straight forward in powershell
$Instance = New-Object('Microsoft.SqlServer.Management.Smo.Server') $InstanceName
$Instance.DefaultFile
$Instance.DefaultLog
These are blank for a...
December 2, 2014 at 8:07 am
sweetumz (11/17/2014)
All the data is on a MS SQL 2008 server and is managed/modified etc. using a GUI similar to content management system. I get the following error:
Validation failed:...
November 17, 2014 at 4:10 pm
Are you trying to update a character field with an integer value?
November 17, 2014 at 1:34 pm
What does your data look like and what is the error message you are receiving?
November 17, 2014 at 1:32 pm
Gail has written a great article on Simple-talk.
August 1, 2014 at 8:45 am
What is the timeout value in the application's connection string? This typically occurs when a query's processing time exceeds this value. You can increase the value or tune...
July 28, 2014 at 12:07 pm
I tried drop/create for laughs, still the same. I have a few databases on a local instance that I use for dev purposes, different branches if you will and...
July 9, 2014 at 12:12 pm
I just tried it in a different database and it worked fine...
July 9, 2014 at 9:58 am
Totally agree. I'm right-clicking 'Modify' - > making changes in query window -> execute -> Modify again to verify. This is strange.
July 9, 2014 at 9:55 am
Did you try the function I posted above? sorry for the formatting here. I can't upload a screenshot...
c1 ...
June 12, 2014 at 1:45 pm
PATINDEX finds the first occurrence of the pattern. With CHARINDEX you can specify a starting location.
June 12, 2014 at 1:37 pm
Viewing 15 posts - 16 through 30 (of 62 total)