Viewing 15 posts - 10,531 through 10,545 (of 15,374 total)
PiMané (10/2/2012)
Is there any problem using the column number besides risking...
October 2, 2012 at 10:59 am
Charles Kincaid (10/2/2012)
Sean Lange (10/2/2012)
Or even better, just drop the prefix entirely. Object prefixes are one of my biggest pet peeves.
I would agree with you except for name collision. ...
October 2, 2012 at 10:56 am
You should read this article from Gail about catch all queries. http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/%5B/url%5D
October 2, 2012 at 8:39 am
And if you are going to have to modify column names after you create them I don't see how this saves you any effort or time. At any rate instead...
October 2, 2012 at 8:18 am
charles.byrne (10/2/2012)
October 2, 2012 at 8:03 am
calvindlm (10/2/2012)
sp_MSforeachtable will loop through all the tables in a db
Of course this is nothing more than a cursor. Take a look at the code.
October 2, 2012 at 8:01 am
Jeff Moden (10/1/2012)
October 1, 2012 at 11:55 am
The time zone is usually the time from when the report is executed.
I don't understand how this determines which time zone. To truly get the format in the way you...
September 29, 2012 at 11:55 am
PSB (9/28/2012)
IF we have same relNum,DDate and differnt MAXBOLTIME
Insert into FACT
SELECT 4,400,7999,2012-1-27,1234,1111,3333,489
UNION
SELECT 5,500,7999,2012-1-27,2000,2222,1111,499
UNION
SELECT 6,600,7999, 2012-1-27,1,2,3,466
we need the row with maxbol (499) and delete the two e.g...
September 28, 2012 at 3:23 pm
jhtein (9/28/2012)
Those number were just examples; not taken from the data. I probably should have clarified that.
I'll remember to following...
September 28, 2012 at 2:17 pm
Pretty sparse on details but I think something like this is what you want.
;with Data as
(
select 1 as ID, 'A' as Status, 1 as Sequence union all
select 1, 'C', 2...
September 28, 2012 at 2:15 pm
We are getting there...your ddl doesn't actually run as is.
Try this for the Fact table
create table FACT
(
ID int identity(1,1),
OrderID INT,
relNum int,
DDATe DATE,
BGallons numeric (14,3),
GGallons numeric (14,3),
NGallons numeric (14,3),
MAXBolTime...
September 28, 2012 at 1:33 pm
chinni_16 (9/28/2012)
I was trying with format but I did get the desired results.
It has to be displayed like...
September 28, 2012 at 12:24 pm
Further communication on .NET related questions, should not be under this site(as it will violate the rules maintained here) and this just FYI
Where are you getting this from? There have...
September 28, 2012 at 12:07 pm
Yes there is. The answer starts by reading the first link in my signature.
September 28, 2012 at 11:59 am
Viewing 15 posts - 10,531 through 10,545 (of 15,374 total)