Viewing 15 posts - 13,336 through 13,350 (of 13,849 total)
By "reflexive", do you mean a self-join? If so, I agree with Phill Cart's response - just add the table again and Access will create an alias for it.
August 29, 2005 at 9:23 am
There is - use the SQL pane and write the query yourself. Is that what you mean?
August 29, 2005 at 3:07 am
It is possible to restore without the log file - SQL Server should create a new log for you. Are you working in EM or QA and exactly what is...
August 28, 2005 at 3:10 am
So you want to display the campaign count for the partner on the same row? This is untested, but along the right lines - you will see that I have...
August 28, 2005 at 3:08 am
Try this:
SELECT MAX(LEN(isnull(COLUMN1,''))+LEN(isnull(COLUMN2,''))+LEN(isnull(COLUMN3,''))) FROM TABLE1
August 27, 2005 at 4:03 am
It's a simple enough matter to put triggers on tables that you want to be able to do this for - to record 'date last updated' and 'updated by' for...
August 27, 2005 at 3:09 am
Suggest you import the spreadsheet into SQL Server "as is" and then normalise. Your general approach should work though:
insert into tblNormalised(date, offer, receipt)
select date1, offer1, receipt1 from imported union
select date2,...
August 26, 2005 at 6:40 pm
Surely the time difference here is due to the fact that SELECT INTO is writing to disk and SELECT is not? How much data are we talking about?
August 26, 2005 at 4:14 pm
You need to switch context as part of the sp_executesql statement. Try this:
declare @strSQL nvarchar(1000)
set @strSQL = N'use tempdb '
set @strSQL = @strSQL + N'select top 10 * from information_schema.columns'
exec...
August 26, 2005 at 2:01 pm
Noticed that col_Fname is ambiguous, so you need to qualify it:
SELECT DISTINCT r.col_Fname
FROM tbl_Reports r left join tbl_Employees e
ON r.col_Fname = e.col_Fname
WHERE e.col_Fname is null
If that doesn't work, there's something you're...
August 26, 2005 at 8:23 am
Or this way:
SELECT DISTINCT col_Fname
FROM tbl_Reports r left join tbl_Employees e
ON r.col_Fname = e.col_Fname
WHERE e.col_Fname is null
Using != in a join is an advanced technique that will rarely be required. I...
August 26, 2005 at 8:04 am
Hi Thomas - as I was writing my last post, I noticed that Remi had already written almost exactly what I was typing - so he "beat me to it" ie...
August 26, 2005 at 7:00 am
Which fields need to be compared? Just an ID field, or several?
August 26, 2005 at 6:51 am
Check out SET TRANSACTION ISOLATION LEVEL in BOL and see whether that gives you what you want.
August 26, 2005 at 2:34 am
Viewing 15 posts - 13,336 through 13,350 (of 13,849 total)