Viewing 15 posts - 54,871 through 54,885 (of 59,078 total)
Timeless jokes are always the best. Thanks, Steve!
September 25, 2007 at 7:52 pm
And, sorry about the triple spaced code... the IFCODE's used to work correctly and they don't seem to, anymore... can't even color the damned errors anymore... they really messed something...
September 25, 2007 at 5:41 pm
I'm thinking there's a couple of bugs... I have a table that looks like this...
--===== Create and populate a 1,000,000 row test table.
-- Column RowNum...
September 25, 2007 at 5:27 pm
Several hundred developers? What you really need is a good set of development standards... 😉
September 25, 2007 at 4:56 pm
Pass it forward, Jon... post the code you solved it with.
And, by the way, saving a timestamp (datetime) in a table as any character or integer based data is death...
September 25, 2007 at 4:51 pm
Phil's method only works if the ID is contiguous and sequential. However, you can make that true if you copy the data you want into a temp table that has...
September 25, 2007 at 7:26 am
SELECT
(SELECT COUNT(*) FROM A) AS [Count From A],
(SELECT COUNT(*) FROM B) AS [Count From B]
September 25, 2007 at 3:02 am
Heh... now that's funny. Near his avatar, it says that Phil Factor is a "Rookie" 😀
September 25, 2007 at 2:41 am
If you take a look at the FROM clause in Books Online, you'll see that using a variable is NOT one of the options for a table name... in order...
September 25, 2007 at 2:36 am
p.s. The best way to fix this is to pummel the vendor providing the data into submitting properly formatted data. The first row should be in a separate "control" file...
September 25, 2007 at 2:25 am
Victoria,
The fastest way to do this is to build a BCP format file and then use Bulk Insert to import the data into a table. Of course, all that information...
September 25, 2007 at 2:22 am
And, how do you do THAT? :Whistling:
September 25, 2007 at 1:55 am
Heh... let's see your "low knowledge" do it 😉
September 25, 2007 at 1:45 am
Yeaup... quite the mess.
This could be done all in T-SQL by importing the whole row into a wide column and doing a split (using a function or some clever code)...
September 25, 2007 at 1:36 am
Viewing 15 posts - 54,871 through 54,885 (of 59,078 total)