Viewing 15 posts - 1 through 15 (of 16 total)
Hi
Thanks for your reply. Is this what you meant, or would you need to see more than this?
10/29/2012 10:18:12,Server,Unknown,Registry startup parameters: <nl/> -d F:\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\master.mdf<nl/> -e F:\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG<nl/> -l F:\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
The only information...
October 30, 2012 at 2:24 am
Hey Koen, thanks for all your help.
When I clicked MSDB, I got a message:"Failed to retrieve data for this request....The SQL server specified in SSIS service...."
I managed to find...
March 9, 2012 at 7:57 am
Hi
Thanks for the reply.
I have connected to Integration Services through SSMS. Although there is a folder listed under Stored Packages - File System that the package should be...
March 9, 2012 at 7:21 am
CONTEST ENTRY
This took a bit longer than I thought...
Queries 1 and 2:
“Query #2 runs first, looking to see if that particular article has ever been viewed before or not.” If...
August 2, 2011 at 8:39 am
Hi
Very nice article. I'm looking forward to the rest of the series.
I ran the query to show unused indexes, but it returned some strange results including linking databases to the...
July 19, 2011 at 4:04 am
Craig
Thanks for the reply, and for pointing me at the obvious.
I was running "select * from sys.objects where object_id=53575229", but I'd forgotten that this is database-specific. Having changed database...
July 19, 2011 at 3:49 am
Hi.
Yes, that works perfectly. I think I'll need to read up about binary collations. I'd never heard of them!
Thanks very much for your help
April 12, 2011 at 6:30 am
Sorry, I should have said that we are currently using Latin1_General_CI_AS collation.
Thanks
April 12, 2011 at 2:40 am
Hi
Try this:
SELECT * FROM
(SELECT * ,ROW_NUMBER()
OVER (PARTITION BY title Order BY price) as row_no
FROM T) x
WHERE ROW_NO = 1
Regards
Alun
October 26, 2009 at 8:10 am
How about this?
select YourTable.*
from
YourTable
inner join
(select
field1, field2, field3
from YourTable
group by field1, field2, field3
having count(*)>1) dups
on dups.field1=YourTable.field1
and dups.field2=YourTable.field2
and dups.field3=YourTable.field3
The subquery identifies the duplicates then is joined back...
October 26, 2009 at 7:51 am
Jeff
That code doesn't quite work. For example, row 1 is returned as "This is a long sentence and I", which is 29 characters. I think you've forgotten to count spaces...
October 26, 2009 at 7:18 am
Hi
I think you need to amend the brackets in your WHERE clause, plus you seem to be comparing the wrong item with NULL. I think this should do it:
SELECT ...
May 19, 2009 at 8:43 am
Hi
It took me some time to get this working as well.
We have a report showing report usage per date. We have DateRun as a matrix column and ReportName as a...
May 19, 2009 at 7:54 am
Developer failings from my experience (SQL/BI developer):
1. Excessive use of cursors. Some developers seem to prefer to work with one row of data at a time then wonder why the...
May 8, 2009 at 3:54 am
As I said, your CASE statement is returning a mix of integers and strings.
A resolved version of your CASE statement is:
SELECT
CASE
WHEN 0 <> 0
THEN (CASE WHEN 1 =...
March 13, 2009 at 9:56 am
Viewing 15 posts - 1 through 15 (of 16 total)