Viewing 15 posts - 1 through 15 (of 18 total)
To fix the date format on the report server (in 2005):
Edit C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\Pages\ReportViewer.aspx and add Culture="en-XX" where XX is your country code.
Example:
<%@ Register TagPrefix="RS" Namespace="Microsoft.ReportingServices.WebServer" Assembly="ReportingServicesWebServer" %>
<%@...
July 8, 2010 at 3:22 pm
Thank you Michelle from NZ. I added culture="en-au" to ReportViewer.aspx and my report now presents dates correctly in dd/mm/yyyy format.
No sheep jokes, I promise!
Ian Scott
March 10, 2009 at 2:48 pm
Jack,
I checked the BOL entry you provided (http://msdn.microsoft.com/en-us/library/ms156493(SQL.90).aspx)
I have been through every setting I can find on both Reporting Services server and the server my database is on....
March 2, 2009 at 1:50 pm
Here is an interesting way of looking at storage!
According to an IDC Research report, in 2006 161 Exabytes (161 billion gigabytes) where created. That's 3 million times the information in...
January 16, 2008 at 1:58 pm
Sheepish Grin!! Thinking too much about my Christmas holiday than what I am doing.
I didn't think to look in the Server agent jobs!
December 12, 2005 at 3:18 pm
I didn't explain that very well!!
In row 1 of t1, col4 contains 'xyz' so update t2 set Col4 = avalue
In row 2 of t1, Col1 contains 'xyz' so update t2...
June 27, 2005 at 4:41 pm
Answer to 1)
select @dte = convert(datetime, convert(varchar, @dte - day(@dte)+1,112))
Sets the value of @dte to 1st of month and midnight. Day() gives # of days in month, date format 112...
January 27, 2005 at 12:51 am
You can create a trigger as follows:
create trigger TestDates_Insert
on TestDates
for Insert
as
declare @dte datetime
select @dte = DateT from inserted
if (@dte <= convert(datetime, '5:00')
and @dte >= convert(datetime, '1:00'))
begin
Update TestDates
set TestDates.DateT = convert(datetime,...
January 23, 2005 at 2:55 pm
Handling dates and times causes more grief than any other issue!!
When a user enters "2:30" I presume they mean 2:30 in the afternoon today! The "1/1/1900" is the default date...
January 20, 2005 at 11:42 pm
If I understand you correctly, the following should work:
Create Procedure sp_GetEmployees
( @dbname varchar(50) )
as
declare @sql varchar(500)
set @sql = 'Select * From ' + @dbname + '.dbo.Employees'
EXEC...
January 20, 2005 at 10:57 pm
Steve (hoo-t),
You have answered my question and confirmed my suspisions!!! It is imposible to trap ALL errors in a called procedure from a calling procedure.
Regards, Ian Scott
January 16, 2005 at 2:41 pm
Timeout! What I am attempting to explain with examples is:
"Can I trap ANY error (missing statements, incorrect data types, not testing for Nulls, no more space etc etc) in a...
January 13, 2005 at 4:32 pm
OK, Here is my real life problem!.
The called sp does the following + a lot of other stuff:
.
.
OPEN tnames_cursor
FETCH NEXT FROM tnames_cursor INTO @tablename
WHILE (@@fetch_status <> -1)
BEGIN
SELECT @sqlstring = 'DBCC...
January 13, 2005 at 2:39 pm
Thanks Kathi,
Your previous reply put me on the right path. The classic case of tunnel vision from thinking about this for too long!!
Regards, Ian Scott
January 12, 2005 at 7:41 pm
OK, I will attempt to explain this a little better!
It is essential that Step4 (Cleanup) is the last step executed. Step2 is set for On Success Step4, On Failure Step3...
January 11, 2005 at 9:16 pm
Viewing 15 posts - 1 through 15 (of 18 total)