Viewing 15 posts - 13,771 through 13,785 (of 13,838 total)
Backup/Restore should have no problem moving databases between servers. How far are you getting when you try this method?
July 21, 2004 at 12:16 am
As a result of using the 'distinct' keyword, duplicate records in the output recordset are not displayed. Remove 'distinct' from my query and the multiple records will be displayed.
July 20, 2004 at 8:25 pm
My previous query is equivalent to the following:
select distinct b.firstname, b.lastname
from tablea a, tableb b
where contains(a.field1, ' "run" and "hide" ') and
(a.field3 = b.field1)
so that should help you understand....
July 20, 2004 at 8:11 pm
Sounds nasty! First point to make is that if you do not have a shared unique identifier (or combination of identifiers) that will allow direct matching between the imported...
July 20, 2004 at 8:04 pm
Something like this?
select distinct b.firstname, b.lastname
from tablea a
inner join tableb b on a.field3 = b.field1
where contains(a.field1, ' "run" and "hide" ')
Regards
Phil
July 20, 2004 at 7:51 pm
Hi FenqC, your question is slightly unclear. Can you give an example of a few records in tables A and B and what you want to return? I'm sure...
July 20, 2004 at 5:58 pm
Check BOL under "limitations-Analysis Services" and you'll get the info you need.
Phil
July 19, 2004 at 10:02 pm
Jeez, perhaps I had one-too-many beers last night. Well spotted and I think I'll keep quiet for a while!
July 14, 2004 at 7:55 pm
BOL suggests that TOP should be used:
"It is recommended that DELETE, INSERT, and UPDATE statements currently using SET ROWCOUNT be rewritten to use the TOP syntax. For more information, see...
July 14, 2004 at 6:57 pm
I think you could do this using local variables - something like this:
declare @batchno int, @detailno int
SELECT TOP 1 @batchno = d.batchno, @detailno = detailno
FROM detail AS d
INNER JOIN batch...
July 14, 2004 at 6:09 pm
How about this one? Going back to your very first post on this, if the table is called 'test' and your columns are 'cola' and 'colb':
select distinct 'cola' =...
July 13, 2004 at 11:21 pm
select top 10
will give you the first 10 rows (and the specific rows which are returned depend on any ORDER BY clause in your query).
Eg, perhaps you...
July 13, 2004 at 10:43 pm
I think you are heading towards some sort of SQL differencing tool - ie something that allows you to compare two SQL Server dbs and identify schema differences between the...
July 13, 2004 at 10:34 pm
Update and select statements are separate and exclusive in T-SQL and as far as I know there is no single statement that will do both. Can you give more...
July 13, 2004 at 10:23 pm
Lots of good points highlighted and looking forward to reading part 2.
July 12, 2004 at 9:14 pm
Viewing 15 posts - 13,771 through 13,785 (of 13,838 total)