Viewing 15 posts - 41,416 through 41,430 (of 59,102 total)
I'm going to take the opposite stance from a lot of other folks. Sure, I believe that you have to know other "stuff" to be a good DBA or...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 23, 2009 at 12:05 am
It's easy and I found Ginger...
See the first link in my signature below to provide a CREATE TABLE statement and some sample data so we can show you how.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 11:57 pm
BWAA-HAA!!! What downside? Just think of it... you store everything in one table and you only need one index. Simplicity at it's best. :-P:-D;-)
(For those not familiar...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 11:53 pm
Loops are slow... break the habit of using them. 😉
SELECT TOP 10 RIGHT('000'+CAST(ROW_NUMBER() OVER (ORDER BY (SELECT 1))-1 AS VARCHAR(3)),3)
FROM Master.sys.All_Columns
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 11:48 pm
You may want to look into a thing called "Replication".
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 11:38 pm
I've seen this exact same problem a couple of times over the years... and it was homework for a course. Please show what you've tried and if you still...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 11:35 pm
Ashok Nalam (10/22/2009)
So it has basically start from ( based on configuration by customer specific) to end time then start time onwards.
It depends... where is the "configuration by customer specific"...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 11:26 pm
You can't use BCP with parameters unless you turn it into dynamic SQL.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 11:22 pm
Thanks for the kudo, Lowell.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 11:09 pm
I missed this before, Flo... it's written well enough that it probably should have been an article. Well done.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 10:48 pm
Heh... "It Depends".
It all depends on how you load the data (ie: IDENTITY_INSERT) and whether or not an IDENTITY column is even needed. I don't see an IDENTITY column...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 10:43 pm
Sorry... I just haven't gotten to this one, yet. Do you still need help on it?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 10:18 pm
Steve Jones - Editor (10/22/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 10:16 pm
All right, Brad... I looked at all of this and, although I return what you wanted, I got carried away. If it were me and I saw some of...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 10:05 pm
Steve Jones - Editor (10/16/2009)
If I understand, what you likely want to do is use a CASE statement for...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2009 at 9:57 pm
Viewing 15 posts - 41,416 through 41,430 (of 59,102 total)