Viewing 15 posts - 48,751 through 48,765 (of 59,099 total)
GilaMonster (8/17/2008)
FirstTable has 1 lakh record , Second table has 2 Lakh record and Third...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2008 at 3:35 pm
Please post the link where you found the pricing so we can figure out what you mean by the "OEM" version because, to the best of my knowledge, nothing is...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2008 at 3:33 pm
masood24 (8/17/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2008 at 3:27 pm
Heh... that's known as a "Headerless Ragged Right" file and they're a bugger to import correctly. BCP and BULK insert require that all the rows have the same number...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2008 at 8:47 pm
No.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2008 at 8:01 pm
Jeffrey Williams (8/16/2008)
Oops - forgot the temp table, thanks Jeff.
No problem... it's the beauty of a forum... world's biggest team. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2008 at 8:00 pm
You CAN have file names with spaces (although, I prefer not to). And, you can easily run commands on those file names by enclosing the filename in double quotes......
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2008 at 7:57 pm
What the heck is the matter with using Replication?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2008 at 3:53 pm
And, yes, it's easy to dump that into a temp table...
Yes, this can be done using an alias. Example:
SELECT t1.col1 AS t1_col1,
...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2008 at 3:51 pm
Considering that the drive to work is 112 miles round trip, I'd love to see my company implement that right the heck now! 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2008 at 3:46 pm
bitbucket (8/16/2008)
Update Dbo.Table1 UPDATE dbo.location SET local_Phone = '91'+local_phone
Just to be sure, I'd add a check to make sure the numbers haven't already been updated...
UPDATE dbo.Table1
...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2008 at 3:42 pm
Joe Torre (8/16/2008)
It is often faster to create a temp table yourself to replace the sub-select
Being a bit of a skeptic, let's see the test you did that proves that....
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2008 at 3:35 pm
What's wrong with just...
--===== Create a test variable (not part of the solution)
DECLARE @test-2 VARCHAR(8000)
SELECT @test-2 = '[8/15/2008 10:44:14 AM] [MESSAGE] Batch Archived:[869] nameOfBatch;Archived Path:\\servername\directory\subdirectory'
--===== Return the path
SELECT...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2008 at 8:46 pm
I think you're missing some data in the other tables. Also, you'll get a much quicker answer if you format the data as outlined in the Link located in...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2008 at 8:39 pm
Not only should you have a clustered index on a table, even if the column is an unused identity column, but you should have a unique index somewhere on the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2008 at 8:31 pm
Viewing 15 posts - 48,751 through 48,765 (of 59,099 total)