Viewing 15 posts - 42,826 through 42,840 (of 59,102 total)
Actually, there is an "automatic" method. It involves the use of a "text based" linked server. If you lookup "sp_AddLinkedServer" in BOL and then find the example with...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 11:04 pm
Ah.... very cool. Thanks for posting the test data. 🙂
I believe your problem is that you've simply included too many single quotes in QUOTENAME for the task at hand....
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 10:55 pm
John Rowan (7/22/2009)
As a side note, any time my answers differ from Jeff's...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 10:45 pm
One final question... would this be 2 or 3 occurances? If 2, why and which 2 would they be?
Emp_ID Start_Entry End_Entry...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 10:38 pm
Why not just use DBCC SHOWCONTIG and save it in a table?
Also, most folks might be able to live with 30% fragmentation, but I can't... the tables I work with...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 10:31 pm
jqd2001 (7/22/2009)
Unless it has to do with effecient RegEx, I've not known that to be true. It would be interesting to try to solve your problem with a T-SQL...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 10:25 pm
frecal (7/22/2009)
that would be the correct way of recording it but probably over kill for what i am needing it for.
I am working on a data linkage project and...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 10:12 pm
Remove all of the WITH hints except for the Fill Factor.
I can't believe this isn't handled automatically when you tell it to gen the script as SQL Server 2000.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 9:52 pm
There are a whole lot of split functions... with extremely rare exception, if it uses a While Loop, it's slow. Don't even look at one that uses an XML...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 9:48 pm
There are two basic types of DBA's and they've both been described in this thread. Big corporation or small, these two types of DBA's can and do exist. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 9:39 pm
John Rowan (7/22/2009)
Create a Data Flow with the following contents:
1. Flat File Source adapter to get your file info into the data flow.
2. Lookup Transform. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 9:32 pm
To the best of my knowledge, you can't. You can certainly use SSIS or DTS to transfer tables and data, but some of the datatypes won't be what you'd...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 9:26 pm
SQL Guy (7/22/2009)
In my script, the execution plan chose index seek in one case, but I want to test it with scan without changing the index itself (because I have...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 9:18 pm
Lynn Pettis (7/22/2009)
Why? Seeks are faster than scans.
Heh... because "A developer must not guess... a developer must KNOW." 😉 It'll be a nice test.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 9:17 pm
Folks are making it pretty hard on themselves for such a simple thing...
Just go to the DESIGN mode for the table and make whatever changes you need to. Obviously,...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2009 at 9:15 pm
Viewing 15 posts - 42,826 through 42,840 (of 59,102 total)