Viewing 15 posts - 4,996 through 5,010 (of 5,504 total)
I'm just going to repeat what I posted before, just a little more focussed:
Straight from BOL again:
varchar [ ( n | max) ]
max indicates that the maximum storage size...
September 10, 2009 at 12:16 pm
duplicate post.
please continue discussion here .
September 9, 2009 at 3:52 pm
To describe your scenario providing ready to use data is not a "criteria for getting help" but it'll increase your chance of getting answers that meet your scenario.
Based on your...
September 9, 2009 at 3:49 pm
AFAIK you can use VARCHAR(MAX).
Straight from BOL:
varchar [ ( n | max ) ]
Variable-length, non-Unicode character data. n can be a value from 1 through 8,000. max indicates that...
September 9, 2009 at 3:35 pm
Jacob Pressures (9/9/2009)
September 9, 2009 at 3:24 pm
The following code should work.
However, I strongly recommend to rethink the concept of your data storage, especially if you want to join tables based on those values...
Also, you need to...
September 9, 2009 at 12:53 pm
duplicate post.
discussion already started here .
Please note that the link contains less information than this thread...
September 8, 2009 at 1:50 pm
If I understand your requirement and your sample data correctly, it can be rephrased as follows:
There is a table holding approx 50k rows, based on a table with 350M rows...
September 8, 2009 at 1:36 pm
First of all, thank your for providing the sample data! Good job! Made it really easy to work on. 🙂
Following please find a proposal of what I think might help...
September 7, 2009 at 5:13 pm
Thank your for the table def.
But we'd need some valid sample data as well.
For details on how to do it please follow the link in my signature.
When providing easy to...
September 7, 2009 at 8:37 am
Would the following give the expected result?
SELECT DATEDIFF(dd,0,GETDATE())
However, it's interesting that EXCEL returns 40062 for today (2009-09-06), but SQL Server returns 40060...
September 6, 2009 at 3:14 pm
Nice job, Drew!
I've been trying to simplify it to get rid of the OR condition but couldn't figure it out...
September 6, 2009 at 1:57 pm
It sounds like my "hint" was misleading... :ermm:
It doesn't really matter what day or time you post a question - there are people around here to help almost anytime!
It's a...
September 6, 2009 at 1:03 pm
Glad I could help 🙂
But, please think about what Bob told you in his post.
It will really help you in the future (maybe your next post isn't on a Sunday)...
September 6, 2009 at 12:37 pm
That sounds more like an aggregate function...
I don't recommend to include aggregated values into the table structure you provided since it violates normalization (2NF, IIRC).
Attached please find a proposal using...
September 6, 2009 at 6:37 am
Viewing 15 posts - 4,996 through 5,010 (of 5,504 total)