Viewing 15 posts - 16 through 30 (of 30 total)
Jeff Moden (12/17/2010)
vinothraj (12/16/2010)
I've checked elapsing time for each of those and got approximate time is less for current_timestamp than getdate().Is current_timestamp better? i think so....
Please post the test code....
December 20, 2010 at 9:38 pm
I'm working in linked server but you might be working in your own. i just told it based upon the average of ten times but i would like to convey...
December 17, 2010 at 1:41 am
by the by,.... current_timestamp averages 0.21 seconds where as getdate() averages 0.234 seconds.
December 16, 2010 at 10:00 pm
I've checked elapsing time for each of those and got approximate time is less for current_timestamp than getdate().
Is current_timestamp better? i think so....
December 16, 2010 at 9:59 pm
NewBie you are and No Comments. I hope you just finished your MBA this year.
December 6, 2010 at 10:09 pm
Its purely inner join with "case when" condition.
column should be fetched from primary table when there is no record available for that vehicleGUID in battery table, otherwise you just need...
December 6, 2010 at 10:05 pm
Please go with the enddate column in the table rather than calculating it separately. This is less pain to database and also it will give fast retrieval.
December 6, 2010 at 9:59 pm
Sorry, its quite confusing me. Could you elaborate in detail?
December 6, 2010 at 9:52 pm
Questions
A) Should I create a new database for product line B? A salesrep may work on both product line A and product line B, so as a user who may...
December 6, 2010 at 9:47 pm
Questions
1) Instead of having Default value on column, insert explicitly default value.
2) Keep column constraint as NULL(Eventhough it ll not have NULL at any time) & explicitly take care in...
December 6, 2010 at 9:35 pm
Use execution plan to monitor which is first binding and order of joins. Naturally it will join based upon the order you have given but still based upon the primary...
December 6, 2010 at 9:28 pm
thanks buddy. you are correct its across databases, where as i need schema binding in view not in table which is my original query.
September 29, 2010 at 10:27 pm
I've already used like that, but i need it across databases.
September 29, 2010 at 8:15 am
Thanks for the reply...
For example i've two databases called "dbFirst" and "dbSecond".
In dbSecond i've a table called "EmployeeTable".
I'm going to create a view called "EmployeeView" in dbFirst database with
Select
...
September 23, 2010 at 9:44 pm
I would like to use getdate() mostly as its having frequent hits than current_timestamp. So far i couldnt see any objections with getdate() and its user friendly.
September 23, 2010 at 12:58 am
Viewing 15 posts - 16 through 30 (of 30 total)