Viewing 15 posts - 1,786 through 1,800 (of 1,837 total)
Maybe I missed the point you were trying to make, but it sounds like you may need to come up with an ordered list first, likely in a CTE, before...
September 17, 2008 at 2:40 pm
Do you have the list of new values in a table? If so, you can do an UPDATE like this:
UPDATE r SET
Cost_AM = t.Cost_AM,
...
September 17, 2008 at 2:21 pm
Just my 2 cents, but personally I'd say it depends on how much each index is being used and if it is a clustered index or not. In 2005...
September 17, 2008 at 1:24 pm
Using SQL Server 2000 client software to connect to SQL Server 2005 Express server should work. However, if you try using Enterprise Manager or Query Analyzer you would experience...
September 17, 2008 at 1:17 pm
jason.stephens (9/15/2008)
September 15, 2008 at 3:16 pm
What's your intended destination of these 200,000 rows? One option may be to right click on the resulting data and select "Save Results As...". Another option is to...
September 4, 2008 at 2:51 pm
If these client machines do have Windows installed on them but you're just scripting something to run in command line (DOS) mode, you can use the SQL Server Configuration Manager...
September 4, 2008 at 2:33 pm
jay holovacs (8/29/2008)
FROM agrt778 INNER JOIN...
August 29, 2008 at 9:03 am
Actually what I use to keep my database files defragged is the CONTIG utility from Microsoft Sysinternals, a free utility available in the file and disk utilities section of this...
August 29, 2008 at 8:20 am
It's an internal thing because of the size of each page of SQL Server's data files is 8K, with a few bytes used for the page header information. The...
August 29, 2008 at 7:59 am
The BEGIN TRANSACTION itself doesn't hold any resources as such, but once you do any INSERT, UPDATE, DELETE, or SELECT depending on your transaction isolation level, then locks start taking...
August 28, 2008 at 3:38 pm
Are there other columns in this table? Looking at your example, I'm not sure how to enforce the order of the rows so that it properly keeps the related...
August 28, 2008 at 3:16 pm
There's a view called sys.master_files that has the size of each file in 8k pages, this has all system and user databases in it.
August 28, 2008 at 2:10 pm
It definately changes the results in outer joins. If the query was:
select .... from table1 t1 left outer join table2 t2 ON t1.col = t2.col and t1.col4 = 'sdsd'...
August 27, 2008 at 3:45 pm
Viewing 15 posts - 1,786 through 1,800 (of 1,837 total)