Datetime column shows ""01.01.-4713"

Hello,
I'm  Crystal Reports Server XI  Release 2 (SP 2 applied).
With RAS SDK I add a XML datasource.
If the Report contains 2 or more datatime fields the second one allways shows up with "01.01.-4713"
The dates are sure correct in the XML so I believe this is a Crystal Bug.
(If I rearange the columns in the report and add some columns between the datetime ones the dates are correctly shown)
So I'm sure that the dates are correct in the datasorce.
"01.01.-4713" probably means that somehow the date gets converted to Date(0);
Would anybody know of a workaround?

Hi Shiv,
If the column with
Datetime as data type in SQL Server database, the format should be YYYY-MM-DD hh:mm:ss[.mmm]. So the format you post should be '1900-01-01 00.00.00.000'.
Just as Arthur said, the data type for the destination column in Teradata should be Timestamp(3). So it seems that there is noting wrong with the mappings. Please verify that the
destination table and columns are specified correctly.
To troubleshoot this issue, please post more information about this issue, such as the detail error message and task design.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • List DateTime Column Shows Pacific Standard Time When it Shouldn't

    Hi all,
    A list in a site has the column DateTime applied to the view and it's showing the Pacific Standard Time when something is added to the list.  The Created Date is correct and shows our proper timezone and time of day but the DateTime column is 4.5 hours
    behind which corresponds to PST.  I've check central admin and the web application time zone settings and they are set to our time zone as required.  Is there something I'm missing here?
    Thanks everyone.

    Hi  ,
    According to your description, my understanding is that your DateTime column shows Pacific Standard Time not your proper time zone in the SharePoint 2010.
    For troubleshooting your issue, please have a look at the blog :
    http://www.brainlitter.com/2012/04/09/how-to-set-regionaltime-zone-settings-in-sharepoint/
    Also please go to your SharePoint Server -> Date and Time setting,  make sure the time zone , date and time is correct.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Desc doesn't show datetime columns from SQl Server

    Hi Everyone,
    I have working db link to sql server using hsodbc:
    Oracle 10.2 on AIX using freetds odbc driver version 0.82.
    I can access tables on sql server but oracle sees only varchars and numerics columns in a table.
    Is there a way to select datetime columns from sql server using hsodbc?

    when hsodbc does not show a certain data type it is commonly related to the fact that HSODBC doesn't support the related ODBC data type.
    In general you have a data type in your SQL Server which is mapped to an ODBC data type by the ODBC driver. HSODBC then maps the ODBC data type to an Oracle equivalent and when the ODBC data type isn't supported by HSODBC it just drops it from the select list.
    So for a root cause analysis an ODBC trace is required to determine the mapping of the FreeTDS ODBC driver.
    With this info we can then compare the mapping documented in the HSODBC manual and if the ODBC data type isn't listed as a supported data type you then need to cast the data type on the source side to a different data type (for example varchar/char).
    So please post the ODBC trace and I'll have a look.
    - Klaus
    Edited by: kgronau on Apr 2, 2013 12:50 PM
    BTW, here the link to the HSODBC docu:
    http://docs.oracle.com/cd/B19306_01/server.102/b14232.pdf
    Oracle® Database
    Heterogeneous Connectivity Administrator's Guide
    10g Release 2 (10.2)
    B14232-01
    B.1 Mapping ANSI Data Types to Oracle Data Types Through an ODBC
    Interface

  • How to calculate the time duration on a datetime column?

    Hi guys,
    I've done some search on this forum and everywhere else but I can't seem to get this right, at the beggining it sounded like something very simple to accomplish, for the instance with Excel but I'm struggling to get it to work with Crystal Reports on Microsoft Visual Studio 2008.
    I have a datetime column (SQL Server 2000) that I wanted to calculate the the time duration on the report group footer, unfortunatelly the built-in SUM function cannot be applied and I've tried several formulas that I've found on the internet without any luck. I'm using a datetime column to store only the time because I'm stuck with SQL Server 2000 which doesn't have a time data type.
    Would you guys know how to do it by any chance?
    Some sample code I've tried: http://www.minisolve.com/TipsAddUpTime.htm
    Thanks a lot,
    Paul
    Edited by: Paul Doe on Dec 12, 2009 5:41 PM
    Some sample data:
    EMPLOYEE     WORK HOURS
    =========     =================
    JOHN DOE      1900-01-01 01:00:05
    JOHN DOE      1900-01-01 00:20:00
    JOHN DOE      1900-01-01 01:30:15
    =========     =================
    HOURS WORKED: 02:50:20
    Edited by: Paul Doe on Dec 12, 2009 5:42 PM
    Edited by: Paul Doe on Dec 12, 2009 5:45 PM

    Guess what, by further testing the code on the website mentioned above I got it working.
    Pus, I needed to change the grouping on the code, so I had to come up with a way to update the formulas based on the groupping field.
    Considering "call_date" is the field that you are groupping by on the designer use the following code to update the formula:
    CrystalReportObj = new ReportDocument();
    CrystalReportObj.Load("C:\\reportfile.rpt");
    FieldDefinition FieldDef;
    //Get formula
    FormulaFieldDefinition FormulaDef1;
    FormulaDef1 = CrystalReportObj.DataDefinition.FormulaFields["SubHours"];
    //Get formula
    FormulaFieldDefinition FormulaDef2;
    FormulaDef2 = CrystalReportObj.DataDefinition.FormulaFields["subMinSec"];
    //Update the formula to work with the new grouping field,
    //this must be called first else will throw an exception
    FormulaDef1.Text = FormulaDef1.Text.Replace("call_date", "call_extension");
    FormulaDef2.Text = FormulaDef2.Text.Replace("call_date", "call_extension");
    //Get the new field we are grouping by
    FieldDef = CrystalReportObj.Database.Tables[0].Fields["call_extension"];
    //Replace current grouping field with the new one,
    //considering there only one group in the report, index 0
    CrystalReportObj.DataDefinition.Groups[0].ConditionField = FieldDef;
    Have fun.
    Edited by: Paul Doe on Dec 12, 2009 8:43 PM
    Edited by: Paul Doe on Dec 12, 2009 8:53 PM

  • To set color for barchart having datetime column

    Hi,
       I have a datetime column in the XSD,
    I was trying to set colors for the barchart through,  chart expert --> colorhighlight  ,here in  colorhighlight when i click on new I am getting a dialogue box asking to enter datetime in M:D:YYYY H:MM:SS TT format. why is this dialogue displayed ? How to overcome this.
    Regards,
    Deepa V

    Hi Deepa
    Please inform us with the following information:
    1: What is the version of Crysatl Reports that you are using?
    2: What is the Chart Type that you are uisng?
    3: Where are you placing this chart in the report?
    Regards
    Ashwini Yadav

  • How to change datetime column in editform only when enduser select contenttype "X". Other contenttypes do nothing with this column?

    I have a sharepoint 2013 portal. I have custom documentlibrary with 10 contenttypes. When you upload a new document you can select a contenttype. After selecting the contenttype you see the columns/fields to fill in. One of the fields is a datetime column.
    I would like set in 1 situation the value at "date of today + 3 year". The situation is when the enduser select contenttype "X". How can I implement this? Maybe in javascript?

    Changing the value using Javascript only changes the displayed value for the user.  It does not prevent the user from changing the value to something that isn't correct for example if this date is the expiration date of a document, these dates are set
    by policy (3 years) but if the user is able to set the date, they may set it to less than 3 years which may or may not be desirable.
    Instead, why not use a workflow to set the value based on the Content Type that was selected and the date of the transaction?
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • Changing Time Zone (stsadm tzmove) = Error: Adding a value to a 'datetime' column caused an overflow

    After updating timezone.xml и RGNLSTNG.xml files for my SharePoint 2010 (SP2 - 14.0.7015.1000)
    I have to run this command to Update time zone on calendar events:
    stsadm -o tzmove -name "russ2014" -update all
    But this cause an error: Adding a value to a 'datetime' column caused an overflow
    ULS log event: System.Data.SqlClient.SqlException: Adding a value to a 'datetime' column caused an overflow.  The statement has been terminated.
    How to fix this?

    Hi,
    Whether you added new time zone definition to your timezone.xml 
    and  RGNLSTNG.xml files.  if not, please provide the details about what content you updated in timezone.xml and RGNLSTNG.xml files.
    The stsadm.exe –o tzmove command does not work for new time zone definition changes. 
    This command is designed for making changes in the existing time zone, 
    not for creating a new time zone definition.
    After you modify the Timezone.xml and Regnlstng.xml files to include the new time zone definition, you must restart Internet Information Services (IIS).
     To do this, click Start, click Run, type
    iisreset in the Open box, and then click
    OK.
    Try to do IIS restart, compare the results.
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact 
    [email protected]

  • Converting Oracle TIMESTAMP(4) column to SQL datetime column conversion error in ssis

    I could not able to convert Oracle TIMESTAMP(4) column to SQL datetime column conversion error in ssis.
    I'm connecting OLEDD Oracle Source to OLEDB SQL Destination in SSIS package. I'm trying to insert data from oracle datetime column into sql datetime column. I'm getting some errors.
    Please provide helpful info.

    You can transform the data types directly at the source by writing a proper SQL statement, or you can convert them using the data conversion component.
    Please refer the below link
    http://stackoverflow.com/questions/6256168/how-to-convert-a-timestamp-in-string-format-to-datetime-data-type-within-a-packa

  • In printservice command - Current Service column shows empty

    When I issue the psr command to check whether tuxedo servers are doing the request, for one of the server, after doing request done for some time, the Current Service shows empty.
    Usually the CURRENT SERVICE column shows either "IDLE", if it is not doing work, or Service Name , if it is doing the work.
    Prog Name Queue Name Grp Name ID RqDone Load Done Current Service
    xxxxxxxx 00104.00400 xxxxx 400 297552 14877600
    What could be the reason behind this ?
    Your input is much appreciated.
    Thanks

    Hi,
    Are you seeing this consistently or just transiently? There is probably a window between when a server completes a service and when it shows as idle. If you are seeing this consistently and it is impacting your application (although I'm not sure how it would), I would suggest opening a support case with Oracle Customer Support.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Table control-change the output of a column. My column shows numbers (char)

    Hello Friends,
    I have in the table control a table. This table show varoius columns , but one column shows numbers. My boss detected that there are showed the numbres but without decimals . for example 10 is showed instead of 10.35. The format of the column is char . How can i change the format to make it appear with decimals? I tried with split in the internal processes. but the problem are the external ones. Because this column is automatically converted to char . what can i do ?
    Thanks!!

    i did not asigned a type char.
    i just referenzed from a field of a matrix table., the machine recognizes this field as char and shows the filed with no decimals at all
    How can i make the decimals to appear?

  • Only about 2/3 of the column show. Also, paragraphs on sidebars, such as the Youtube subtitle sentences are cut so after the first line I only see the top of the second line.

    Only about 2/3 of the column show. Also, paragraphs on sidebars, such as the Youtube subtitle sentences are cut so after the first line I only see the top of the second line.

    If you have increased the minimum font size then try the default setting "none" as a high value can cause issues like you described.
    * Firefox > Preferences > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    * Firefox > Preferences > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"
    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    * http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Populating a Datetime Column

    I want to populate a datetime column on the fly within a stored procedure. Below is the query that I currently have that does same but slows down query performance.
    CREATE TABLE #TaxVal
    ID INT
    , PaidDate DATETIME
    , CustID INT
    , CompID INT
    INSERT INTO #TaxVal(ID, PaidDate, CustID, CompID)
    VALUES(01, '20150201',12, 100)
    , (03,'20150301', 18,101)
    , (10,'20150401',19,22)
    , (17,'20150401',02,11)
    , (11,'20150411',18,201)
    , (78,'20150421',18,299)
    , (133,'20150407',18,101)
    -- SELECT * FROM #TaxVal
    DECLARE @StartDate DATETIME = '20150101'
    , @EndDate DATETIME = '20150501'
    DECLARE @Tab TABLE
    CompID INT
    , DateField DATETIME
    DECLARE @T INT
    SET @T = 0
    WHILE @EndDate >= @StartDate + @T
    BEGIN
    INSERT INTO @Tab
    SELECT CompID
    , @StartDate + @T AS DateField
    FROM #TaxVal
    WHERE CustID = 18
    AND CompID = 101
    ORDER BY DateField DESC
    SET @T = @T + 1
    END
    SELECT DISTINCT * FROM @Tab
    DROP TABLE #TaxVal
    Which is the best way to write this query for better performance?
    Zionlite

    Here is the better way to do it
    DECLARE @OldestDate DATE
    DECLARE @maxDate DATE
    SET @OldestDate = '2015/04/20'
    SET @maxDate = Getdate()
    ; WITH dates([DateCounter]) AS
    SELECT @OldestDate AS [DateCounter]
    UNION ALL
    SELECT DATEADD(d,+1,[DateCounter])
    FROM DATES
    WHERE [DateCounter] < CAST(@maxDate AS DATE)
    --INSERT INTO @Tab
    SELECT [DateCounter]--,<Other Columns>
    FROM dates
    OPTION (MAXRECURSION 0)
    If you can tel me the concept of #taxVal and @tab (i.e. your input and expected output then it will help us to design it in a better way. 
    However, running above code will help you to get the date counter. 
    Hope this will help
    Glad to help! Please remember to accept the answer if you found it helpful. It will be useful for future readers having same issue.
    My Profile on Microsoft ASP.NET forum

  • Column showing driving predecessors only

    Some folks that want to review a schedule do not have access to it online, thus hampering their ability to follow the flow. In the interest of assisting such reviewers I generally insert columns showing predecessors and successors, but that gives no immediate indication of the path. I would like to be able to show a column containing the driving predecessor(s) only, as well as the standard predecessor & successor columns - is such a thing possible?

    You can easily do this with a Tabular Report - Subject Area - Activity Relationships. Include the 'Driving' column and the values will be Yes or No. And you can filter on 'Driving' as well.

  • DatagridView and Sql DateTime Column

    Hi all,
    I've got a problem that is driving me crazy, I have 2 datetime column in my Sql database and I want dispaly into my datagrid only the time. I need  a datetime column 'cause I want to filter time in my datagrid but TimeSpan syntax doesn't work, but when
    I add the record ex: 15:00 (obviously sql register it as 01-01-1900 15:00:00) and when I load my datagrid I get an exception (Cannot store <01-01-199 15:00:00> in the column 'Time' because type is 'TimeSpan) I tried to tryparse my control as datetime
    and used datetime.now.toshorttimestring, I tried to format my datagrid cells in 't' format but it keeps not loading!
    I need your help please

    Hi all,
    I've got a problem that is driving me crazy, I have 2 datetime column in my Sql database and I want dispaly into my datagrid only the time. I need  a datetime column 'cause I want to filter time in my datagrid but TimeSpan syntax doesn't work, but when
    I add the record ex: 15:00 (obviously sql register it as 01-01-1900 15:00:00) and when I load my datagrid I get an exception (Cannot store <01-01-199 15:00:00> in the column 'Time' because type is 'TimeSpan) I tried to tryparse my control as datetime
    and used datetime.now.toshorttimestring, I tried to format my datagrid cells in 't' format but it keeps not loading!
    I need your help please
    Hi,
    I am afraid that this is not the proper forum for this issue, since this forum is to discuss and ask questions about the Visual Studio Debugging tools, Visual Studio Profiler tools, and Visual Studio Ultimate IntelliTrace which doesn't include how to solve
    development issues.
    You could post this issue in the following forum depends on the type of your project and the language you are using to get dedicated supports.
    C#:
    Visual C#
    vb.net:
    Visual Basic
    winform:
    Windows Forms General
    asp.net: ASP.NET
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SSRS schedule table LastRunTime column showing incorrect datetime

    Hi,
    We have some code which analysis when the report was run last time (cached). We take this value from SSRSDB..Schedule(LastRunTime) column.
    Sql server and ssrs are configured on same server with CST time zone.
    The OS which host this also configured in CST time zone.
    OS: Windows Server 2003
    SSRS: Sql Server 2008
    The only thing which is different is the physical server which is placed in India.
    Now when I select Schedule(LastRunTime) column I found that the entries are saved in IST time zone. 
    How is that possible? Neither OS nor Sql server is configured in IST.
    The interesting thing is that rest all datatime columns in schedule table has values as per CST zone.
    Tried to google it, but no help.
    Please help.
    Regards,
    Mithalesh Gupta

    Hi Mithalesh,
    According to your description, you have application which will get the LastRunTime from Schedule table in ReportServer database. Now it get the wrong time. Right?
    Based on your information, you installed the SQL Server and Reporting Services on the server which is placed in India, but you have configured the time zone to CST. In Reporting Services, the LastRunTime property takes the current system time. Since
    you have set the CST time zone on the server , it supposed to return the CST time in Schedule table. Please restart the Report Server service and try again, sometimes it need to restart so that the time zone change can take effect.
    Reference:
    Change Time Zones and Clock Settings on a Report Server
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

Maybe you are looking for

  • HP printer will not print

    Running diagnostic - colors print fine.  Tried many programs, pages, text edit, mail - will not print letters and numbers. HP printer - using MacPro - wireless HP C6300 series.  WiFi connected and no problem.  I was told I had to uninstall printer an

  • Crystal Reports 2008, mySQL, JDBC, and ODBC

    Hello everyone. I have just spent a very challenging few days getting Crystal Reports 2008 Developer (advanced version) working with a mySQL data source.  I fell into several pits and narrowly escaped being eaten by monsters. I thought I'd share my e

  • Problem (ugly display) with Samsung syncmaster 2243

    Hello I just plug my Samsung Syncmaster 2243BW on the mac mini (DVI). The resolution set is the good one : 1680x1050 @ 60hz, but the display isn' t clear, accurate, especially with the fonts. any ideas thanks in advance

  • Event for reversing the write off document

    Hi All, Can anyone suggest me the event that I should enhance for our requirement which is when a incoming payment comes in system should first check whether there is any write off document and if there is then write off document should be reversed a

  • For the Mac Experts Here...

    Ran across this on eBay... seems like a respectable company... 3GB RAM for $379.99!!! Too good to be true? http://cgi.ebay.com/3GB-DDR2-OPTIVAL-RAM-MEMORY-UPGRADE-APPLE-IMAC-INTEL_W0QQite mZ180103515598QQihZ008QQcategoryZ80037QQssPageNameZWDVWQQrdZ1Q