Viewing 15 posts - 48,751 through 48,765 (of 59,093 total)
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
Thanks for the awesome compliment, Timothy.
It depends on what the client is comfortable with... some won't allow it as a permanent table so I have to code it in where...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2008 at 7:58 pm
Paul DB (8/15/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2008 at 7:48 pm
Steve Jones - Editor (8/15/2008)
You can click on the author's name and get a list of all his...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2008 at 7:47 pm
kathyoshea (8/15/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2008 at 7:44 pm
magarity kerns (8/15/2008)
where
a.acct_nbr >...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2008 at 7:17 pm
Joe Celko (8/15/2008)
Right now, I'd do running totals in a report writer with SQL Server. But my current job uses DB2, so...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2008 at 7:12 pm
Viewing 15 posts - 48,751 through 48,765 (of 59,093 total)