Viewing 15 posts - 2,746 through 2,760 (of 4,081 total)
Those character strings will CAST or CONVERT directly into smalldatetime, or even implicitly convert.
select CAST('090715' as smalldatetime)
-- implicit conversion
declare @date as smalldatetime
set @date = '090715'
select @date as [@date]
Can you show...
July 20, 2009 at 1:37 pm
ishaan99 (7/15/2009)
July 15, 2009 at 4:47 pm
I can't send you examples, but the proper terminology for calling external code from SQL is either "EXTENDED Stored Procedure" or "CLR (Common Language Runtime)". I...
July 15, 2009 at 2:27 pm
I suggested that as an alternative. I assume that in his case, he wants to know the value that doesn't have a dash in it.
But,...
June 5, 2009 at 8:44 am
A bit of humor for those of you who own dice with more than six sides.
June 5, 2009 at 8:37 am
Can you give us some context please? What problem are you trying to solve. Where did you hear or read the term "SQL Trend Line...
June 3, 2009 at 1:55 pm
To be very safe, remember to group by year and month, not just by month. Otherwise you will run into problems if your data spans more than...
June 3, 2009 at 1:17 pm
The ORDER BY wants all values to be of the same datatype. Where you find a '-' in the string for ssid, such that a numeric value is...
June 3, 2009 at 1:12 pm
Gail, I've heard slow code defended because:
1. "It's more intuitive."
2. "It reads better."
3. "SQL figures all that stuff out."
4. "That's how I...
June 2, 2009 at 9:53 am
I wanted to avoid this because of the sheer size of the tables. Frankly, we don't have enough disk space to play with... but what else is...
June 1, 2009 at 4:32 pm
I'm just trying to add a little room for indoor plumbing, Alvin. 😉
June 1, 2009 at 3:19 pm
Thanks, Gus, that makes sense to me, even though I was hoping to avoid it.
June 1, 2009 at 3:08 pm
(First Verse…. I need to get these all in order some day.)
Let me introduce myself, the name’s James T. Kirk.
A Federation starship is the place that I work.
We fly to...
June 1, 2009 at 3:06 pm
If I do... will that pay for the assistance?
June 1, 2009 at 3:01 pm
Can anyone who has been through the partitioning wars give me some advice here?
June 1, 2009 at 2:45 pm
Viewing 15 posts - 2,746 through 2,760 (of 4,081 total)