Viewing 15 posts - 13,201 through 13,215 (of 15,381 total)
TimeToShine (1/19/2012)
I am thinking of doing the items in a delimited value. So each product that has an attribute (not all do) will have an entry in the Attributes...
January 20, 2012 at 9:32 am
Well if you can't change the structure then you will have to use one of the ways presented. They are both management sinkholes. You are going to constantly be fighting...
January 20, 2012 at 9:02 am
mick burden (1/20/2012)
January 20, 2012 at 8:57 am
If at all possible you should normalize that table. You don't want to have columns for each person. You should probably have two tables for this. One table is your...
January 20, 2012 at 8:27 am
Sounds like you need to investigate triggers. It is very hard to understand exactly what you are trying to accomplish but it sounds like an update trigger on your validation...
January 20, 2012 at 8:19 am
Nice straight forward question with a nod to Carl Sagan. Great ending to the week and "keep looking up". 😀
January 20, 2012 at 7:52 am
This is one of the challenges of the way your tables are designed. You are using a table as a catch all. In other words the table holds multiple types...
January 19, 2012 at 4:00 pm
GSquared (1/19/2012)
Daylight Savings Time was originally proposed as a joke.And, yes, it should be cancelled. Should never have been enacted.
I agree with one small caveat. If we got rid...
January 19, 2012 at 2:57 pm
It is very unclear what you are trying to do here. Perhaps if you posted some ddl (create table statements), sample data (insert statements) and a clear explanation of what...
January 19, 2012 at 1:38 pm
roryp 96873 (1/19/2012)
January 19, 2012 at 9:23 am
Agreed. That is pretty slick Mark. I was going to use Moden's splitter...
select * from
dbo.DelimitedSplit8K('2:42 1/29 On R.P.C resolved vendor was instructed on Friday failed to send 2020817 813 811...
January 19, 2012 at 9:15 am
It is most likely due to differences in dateformat. run DBCC USEROPTIONS on both servers and the dateformat is likely different.
January 19, 2012 at 9:11 am
declare @MyMoney money = 206960.8333
select CEILING(@MyMoney) --Always round up to next dollar
, FLOOR(@MyMoney) --Rounds down to next dollar
, ROUND(@MyMoney, 0) --Round but keep as money type with decimals
, CONVERT(int, @MyMoney)...
January 18, 2012 at 3:47 pm
That is where the "Top 1" will come in handy.
cross apply (select top 1 date from table order by DateCol desc)
January 18, 2012 at 2:20 pm
drew.allen (1/18/2012)
Sean Lange (1/18/2012)
January 18, 2012 at 2:02 pm
Viewing 15 posts - 13,201 through 13,215 (of 15,381 total)