Viewing 15 posts - 5,191 through 5,205 (of 6,036 total)
I would not be so excited about "getting rid of those damned collation clauses".
Some DBA's don't notice the difference between SQL_Latin1_General_CP1_CI_AI collation and Windows Latin1_General_CI_AI collation.
August 6, 2006 at 10:25 pm
> What am I doing wrong?
Creating tables for each country.
August 6, 2006 at 1:40 am
If you need it "someday" you can create a view
SELECT ..., CONVERT(varchar(8000), TextColumn) as VarcharColumn
FROM TableWithTextColumn
YOu can use all your favourite benefits without managing 2 tables.
Don't like views -...
August 5, 2006 at 5:10 pm
Why not?
As I can understand this column is just a dump for some texts.
If there is any kind of useful information in it (e.g. key words, some profiles) then it...
August 4, 2006 at 10:08 pm
Tom, did they really teach you in school that structural programming is only about reusability?
Ask any developer - do they create separate method only if it's ment to be reused in...
August 4, 2006 at 5:03 pm
At least it will work.
But is it what you need - it's for you to decide.
August 4, 2006 at 4:48 pm
Probably with those dates you mean something like this:
SELECT T1.DonorId, T1.PeriodId, T1.[Date] as DateLimitReached
FROM Table1 T1
INNER JOIN (select DonorId, PeriodId, MAX(Date) as NotYet
from Table2...
August 3, 2006 at 11:58 pm
Read topic "converting data types, overview" in BOL.
Probably it will give you same idea how to deal with precisions in SQL.
August 3, 2006 at 6:44 pm
I would probably have a solution if somebody could explain me in plain words ("For dummies"
) what does it mean:
"order to prevent...
August 3, 2006 at 6:24 pm
You can call SP from another SP.
If you believe that "SQL script syntax doesn't seem to lend itself to any sort of structure" then you don't know SQL.
August 3, 2006 at 6:12 pm
You need to understand your data and establish proper FK relationships on INT columns when you INSERT the data.
It's too late to do it when you do SELECT.
Why?
1) You do...
August 3, 2006 at 5:31 pm
CONVERT(VARCHAR(8000), WRnotes)
creates a column of 8000 size. Plus other columns in this table - and you are over the limit.
Probably you don't need 8000 chars for this column. Or if...
August 3, 2006 at 2:34 pm
What are you trying to update?
UPDATE tbl_Partition1
SET ?????? = ?????
FROM v_Partition t1
INNER JOIN tbl_JoinTable t2 ON t1.key = t2.key
WHERE t1.partitionKey = tbl_Partition1.myPartitionKey
August 2, 2006 at 11:21 pm
So, you gonna transform -102613.5000 into -10261.3500
Are you sure these values are equal?
August 2, 2006 at 11:11 pm
What do you mean "trim".
Which way you want to trim value -102613.5000 to DEC(9.4) ?
August 2, 2006 at 8:23 pm
Viewing 15 posts - 5,191 through 5,205 (of 6,036 total)