Viewing 15 posts - 1,546 through 1,560 (of 3,544 total)
Sergiy's solution will not show databases that have never been backup up which may be the reason why one is missing, this is my solution
SELECT DISTINCT sd.name,bs.backup_finish_date
FROM master.dbo.sysdatabases sd
LEFT...
May 24, 2007 at 8:14 am
use left joins in Grants answer, eg
SELECT i.ItemNo_, i.ItemDescription, COALESECE(a.Description,b.Description,'')
FROM Item i
LEFT JOIN ItemExtraDescription a ON a.No_ = i.No_ AND a.LanguageCode = ''
LEFT JOIN ItemExtraDescription b ON...
May 21, 2007 at 6:52 am
| ...see alternative solutions posted by others, often yourself, which are often better than my original solution... |
Especially with Jeff's...
May 18, 2007 at 7:16 am
1. Extract one row for each combination of unique columns (3) to another table
2. Truncate original table
3. Insert data (1) back into original table
May 18, 2007 at 7:12 am
| So, explain the code Gail wrote for you... I wanna make sure you actually learned something other than... |
May 17, 2007 at 6:50 am
Add -b parameter to the isql command line
p.s. also check the use of the -m errorlevel parameter as well
May 11, 2007 at 6:55 am
In addition
Add an IDENTITY column (I'm sure I'll get flamed for this
) so that data can be tracked in insertion order (if required),...
May 8, 2007 at 9:24 am
| Why is this done |
Personal preference.
| What is... |
May 8, 2007 at 9:15 am
| I can't allow every user to do this and the report should run at a particular time overnight,... |
May 7, 2007 at 8:43 am
| include the header in copy or save |
Not possible to include headers in copy or save for Grid results...
May 7, 2007 at 8:32 am
Set output to text and tab format*, execute query, copy and paste results.
* Done in Tools, Options
May 5, 2007 at 5:45 am
M("BASE_" + unit_b) is retrieving by name, make sure unit_b is one of K, KG, MTR or ST
M(unit_a) is retrieving by ordinal number, your query has a maximum of 9 columns, make sure...
May 4, 2007 at 4:00 am
Viewing 15 posts - 1,546 through 1,560 (of 3,544 total)