Viewing 15 posts - 10,531 through 10,545 (of 15,381 total)
additionally, when you have multiple tables having field names of the same, such as LName, FName, Address, etc. that may appear in more than one
table then it would be...
October 2, 2012 at 1:27 pm
Vijay_Raju (10/2/2012)
October 2, 2012 at 11:54 am
datediff(yy, date1, date2) > 4
If you want some more detailed help you are going to have to provide something to work with. With over 600 points you are by no...
October 2, 2012 at 11:51 am
3. If multiple records found in sys.columns you will NOT cause get run-time error and will be set to one of values returned by SELECT (you cannot guarantee which one)...
October 2, 2012 at 11:36 am
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
Viewing 15 posts - 10,531 through 10,545 (of 15,381 total)