SQL date query problem with century/ year

We have an oracle database with about 6 million records. There is a date field called Entered Date that ranges from 1985 to the present.
The majority of these records were entered prior to Jan 1 2000.
If I run a query like
select count(*) from (tablename) where entered_date < '01-JAN-00' I get 0
if I do
select count(*) from (tablename) where entered_date < '31-DEC-99' I get 0
BUT IF I DO
select count(*) from (tablename) where entered_date < '01-JAN-00' I get 6 million records
or
select count(*) from TREASURY.ctrc where entrydate > '31-DEC-99' I get 6 million records
I've tried the same queries using 4 digit years but get the same results; it thinks that 2000 is the less than 1999
How do I get around this?
thanks

Hi,
975204 wrote:
there are 6 million records on the table
about two thirds have a date prior to Jan 1 , 2000How do you know that? From knowledge of the application, you may know that two thirds of them are supposed to have dates prior to 2000, but if
SELECT  COUNT (*)
FROM      TABLE_NAME
WHERE      ENTRYDATE < TO_DATE ( '01-JAN-2000'
                       , 'DD-MON-YYYY'
;returns 0, that's pretty strong proof that none of them actually do.
When I look at the dates , they display as 31-DEC-86Another example of why using 2-digit years is such a bad idea.
I cant actually provide dump of this clients confidential dataSeriously; you can't provide one DUMP output? You've already said that it displays as 31-DEC-86, so even if the fact that 1 entry in the 6-million row table was done on December 31, 1986 was such a big secret, it's already out, and you won't be causing any more harm by showing the DUMP results.
I ran the query with the same format as the date ie
SELECT COUNT(*) FROM TREASURY.CTRC WHERE ENTRYDATE < TO_DATE ( '31-DEC-99'
, 'DD-MON-YY'
but same results
if the column is defined as a DATE type, does Oracle make a distinction based on how the data displays, meaning does it think that 31-DEC-86 is different than 31-DEC-1986?No, all DATE columns have the same format. A DATE may be displayed one way of the other, but it is stored as neither.
Do I need to convert all the data to a 4 digit year? You should always display dates with a 4-digit year.
Run an update query that says if year >= 80 and <= 99 add 19 in front of the year, else add 20 in front of the yearLet's find out exactly what the problem is, first.
Did you see Ascheffer's message? ^1^ It was dated just a couple of minutes before your last message, so you might not have noticed it. Run it to see what the actual 4-digit years are.
If it shows, for example, that there are a lot of entrydates in the years 2080 to 2099, and you decide that all of those really should be 100 years earlier, then use ADD_MONTHS to correct them:
UPDATE     table_name
SET     entrydate = ADD_MONTHS ( entrydate
                           , -100 * 12
WHERE   entrydate >= TO_DATE ( '01-JAN-2080'
                         , 'DD-MON-YYYY'
AND     entrydate <  TO_DATE ( '01-JAN-2100'
                         , 'DD-MON-YYYY'
;Edited by: Frank Kulash on Mar 15, 2013 6:09 PM
^1^ Obviously, you did see Ascheffer's message; I was still typing the message above when you posted another one.

Similar Messages

  • Data Roaming Problems with Lumia 610 and 710 phone...

    Data Roaming problem with Lumia Wndows 7.5 phones.  We have a Lumia 710 and also 610 phones on Virgin pay monthly sim cards.  We cannot get data raoming to work on either phone.  We have tried in a number of locations in France and Switzerland. Virgin confirm roaming and data roaming are set up on our account.  
    - I have purchased Data Passes.  
    - Settings>Mobile Network active network shows current operator
    - Data Connection is on,
    - Data roaming option shows "roam",
     - highest connection speed is 3G,
     - network selection is automatic.
     - Flight mode is off.  
     - Account settings are ok because everything works on Wifi.
     - Connection has been full bars showing 3G.  
     - I have tried hard resets of phone, manual network selection, deleted browsing history,
     - phone software reports that it is up to date,
     - I have run Network Setup which confirms phone has been updated network settings for relevant operator.
     - Telephone calls to Virgin from Switzerland could not resolve the problem.  
     - Discussions with Virgin since returning home have not been able to solve the problem.  It seems to be an issue with Lumia phones. 
    Can anyone help please? Nokia - why doesn't this work on your phones?

    I'm like what an OS this phone has. All I can say is that if you own MS stock dump it fast as the OS on this phone is so bad its not even funny.
    I think what they are trying to do here is a last ditch attempt to capture the online services market but it isn't going to work, because they have made this OS to weird.
    I'm a pretty seasoned user and I generally am able to get gadgets to work but dudes this puppy is something else. I have 14 days to exchange it so Im going to give it my best shot for another couple of days and see where it goes.
    The phone itself is pretty decent otherwise I would have returned on the 2nd day. Its pretty fast and the screen is nice and bright and if not some major concerns I wouldn't be a complaining.
    1st} There is no way to import your bookmarks into the phone without using a online service.
    2nd} I haven't been able to successfully export my old contact list from my LG P500 Android.
    The 710 seems to only use contacts that are stored on online services even though I have imported my contacts using the Contact transfer function on the phone.
    3rd)The phone won't shut off while charging even if you shut the phone down , plug it in and it turns on no matter what you do.
    The Zune software is all glitter and no meat too unfortunately.
    I really wanted an alternative and the phone is such good value and a local new Provider has a 27 $ a month unlimited everything, but luckily they have a 14 day phone exchange policy.
    I'm going to keep for a few more days and see if I can get it to work the way i want it to.
    Moderator's notes: Profanity removed, such language is not tolerated on the forums, please read the forum guidelines. 

  • I have a 2010 mac book pro and track pad is not working well, is there a problem with that year?

    I have a 2010 mac book pro and track pad is not working well, is there a problem with that year. I heard that the 2011's had track pad trouble.

    All recent versions of Mac OS X use bash, so avoiding Mavericks won't help you with that problem (which isn't a problem for most users).
    iWeb is another matter. My advise: migrate your website to Wordpress first and start thinking about upgrades later.

  • SQL Query problems with Mysql - possible Java bug

    I have a query that works fine on mysql, but does not work in my jsp page.... my db connection and all that jazz is fine.
    select somefields from table order by (integerfield / doublefield)
    two notes... the query works without the order by. And the query works with the order by when I'm working directly with the db. Any ideas? This is driving me nuts!!!!
    Thanks,
    Tyson

    Nevermind, just a dumb mistake... finally figured it out.

  • SQL Server 2000 problem with MII Version 12.1.8 Build(24) Reconnecting

    Hi,
    I have a problem using XMII Version 12.1.8 Build(24) with com.microsoft.sqlserver.jdbc.SQLServerDriver JDBC driver with SQL 2000.
    The problem we have is the machine where the SQL server is installed on reboot as per schedule once a week. When the server comes back online, XMII  seems to get problem to reconnect correctly. Sometimes it reconnects perfectly, sometimes not.
    When it fails, the only way to fix the problem is to uncheck the 'Enabled' checkbox, then save the data server, then check the 'Enabled' checkbox, then save again.
    When the reconnect issue happens, uploading messages to SAP fail 100% of time, but downloading Control Recipes  from SAP works 50% of time. For example, some PO's can be processed correctly, some others not, causing data losses due to poor data buffering(buffering doesn't cover connection time out). The failed PO's are marked as 'Sent' into CO53 SAP transaction but in fact, are lost in a hole causing data losses.
    See the error we get atfer the server reboot:
    Unable to get a connection from the pool
    [EXCEPTION]
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host VANASR70, port 1433 has failed. Error: "connect timed out. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting... [see details]
    Cannot create a connection to the database
    [EXCEPTION]
    com.sap.xmii.Illuminator.system.CommunicationException: Cannot create a connection to the database... [see details]
    Error processing transaction com.sap.xmii.bls.engine.TransactionInstance@cee764f
    [EXCEPTION]
    com.sap.xmii.scheduler.CronException: PMU ERR VAN - Cannot Qry MSIDs.... [see details]
    Unable to get a connection from the pool
    [EXCEPTION]
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host VANASR70, port 1433 has failed. Error: "Connection refused. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting... [see details]
    Unable to get a connection from the pool
    [EXCEPTION]
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host VANASR70, port 1433 has failed. Error: "connect timed out. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting... [see details]
    The only way we have thought to workaround this problem is to develop our own buffering method into XMII workbench puting all data received from SAP or SQL insert query into an Oracle temp database. We should probably be able to fix this by this way, but it reprensents many costs and efforts, so we try to avoid this for sure.
    Please, if you can provide us a patches or hints about how to fix this, it could be very appreciated because loosing data is very anoying.
    Thanks a lot!
    Edited by: mrmans on May 19, 2011 5:48 PM
    Edited by: Michael Appleby on May 19, 2011 6:10 PM

    The validation query is in place and the system works very well 99% of the time.
    When the SQL server machine reboot each sunday morning, during the time the machine is rebooting, the data server lose the connection which is normal, but when the machine comes back alive(less then 10 minutes), the data server seems to stay in an 'in-between' state showing the connection status 'Running' but showing also error messages posted in the orginial post in Netweaver logs. So at first look the data server is up and running and reconnected to SQL server after the reboot, but in fact, following these errors after the SQL server machine has rebooted, some data are processed correctly from SAP (Control Recipes) and some not.
    The problems looks like very similar to threadID 1596329.
    Here is the data server configuration for all our 5 data servers:
    Connector IDBC
    ConnectorID  
    ConnectorType SQL
    DatePrefix '
    DateSuffix '
    DaysRetention 7
    Description VANASR70 INTERFACE with MS-SQL JDBC 3.0
    Enabled T
    InitCommand  
    InternalDateFormat yyyy-MM-dd HH:mm:ss
    JDBCDriver com.microsoft.sqlserver.jdbc.SQLServerDriver
    MaxRetryCount 50
    Name PROF_INT_VAN
    PoolMax 150
    PoolSize 100
    RetryInterval 60000
    ServerPackage com.sap.xmii.Illuminator.connectors.IDBC
    ServerURL jdbc:sqlserver://VANASR70:1433;databaseName=INTERFACE
    Timeout 30
    UseCount 256
    UserName mii_user
    ValidationQuery SELECT GETDATE()
    WaitTime 60

  • Date query problem

    Hi,
    On a report I'm trying to do a date query:
    select * from table v
    where ..........
    and ( to_date(v.fecha_inicio, 'dd/mm/yyyy')
    between nvl(to_date(:P_BEGIN, 'dd/mm/yyyy'),
    to_date('01/01/0001', 'dd/mm/yyyy'))
    and nvl(to_date(:P_END, 'dd/mm/yyyy'),
    to_date('31/12/9999', 'dd/mm/yyyy')) )
    and could not get the right data (return no rows), I though it was a problem with my itmes so changed the item reference for the actual values:
    select * from table v
    where ..........
    and ( to_date(v.begin_date, 'dd/mm/yyyy')
    between nvl(to_date('01/10/2006', 'dd/mm/yyyy'),
    to_date('01/01/0001', 'dd/mm/yyyy'))
    and nvl(to_date('31/10/2006', 'dd/mm/yyyy'),
    to_date('31/12/9999', 'dd/mm/yyyy')) )
    and the result is the same.
    If change to
    and (to_char(v.fecha_inicio, 'dd/mm/yyyy')
    between nvl(to_date('01/10/2006', 'dd/mm/yyyy'), to_date('01/01/0001', 'dd/mm/yyyy') )
    and nvl(to_date('31/10/2006', 'dd/mm/yyyy'), to_date('31/12/9999', 'dd/mm/yyyy') ) )
    Sends a not a valid month error but if run the same query on sqldeveloper it works right.
    My question is why I could not get the right data on apex ?
    Thanks you

    I made the changes and is the same thing, no rows returned. If I try to evaluate between or > < is the same.
    I tried
    AND (to_char(v.fecha_inicio, 'yyyy') = '2006' )
    AND (to_char(v.fecha_inicio, 'mm') = '11' )
    And is the only thing I found that works !!!
    So I'm thinking to change my conditions so select a month and year to show. Don't think my user will be happy but for the moment ......
    Thanks

  • Query problem with accumulated key figures

    Hi BI Gurus!
    I have a report problem that I hope you can help me with!
    In my report I have 2 key figures. One for accumulated revenue previous year (KF1) and one for accumulated revenue current year (KF2). Both key figures should be presented in a graph in monthly buckets.
    January figures from both the key figures shoule be presented in the same bucket. Therfore I can't use 0CALYEAR since we have the "year" information in there. Instead I'm using 0CALMONTH2 which is only two digits, 01 for January. That way I can map figures from both previous year and current year in the same bucket.
    I need the figures to be accumulated and this is what I have problem with. When I run the report today in February 2010 it looks like this:
    Month   KF1   KF2
    01        10     15
    02        10     20
    03        15    
    04        10    
    05        20    
    06        10    
    07        10    
    08        15    
    09        15    
    10        20    
    11        20    
    12        10    
    This is how I would like the report to look like:
    Month   KF1   KF2
    01        10     15
    02        20     35
    03        35    
    04        45    
    05        65    
    06        75    
    07        85    
    08        100    
    09        115    
    10        135    
    11        155    
    12        165
    I have tried to use the setting "accumulated" for the key figures but then I get this result:
    Month   KF1   KF2
    01        10     15
    02        20     35
    03        35     35
    04        45     35
    05        65     35
    06        75     35
    07        85     35
    08        100   35
    09        115   35
    10        135   35
    11        155   35
    12        165   35
    Since the KF2 is revenue for current year and I run the report in February I don't want any figures to be displayed in Mars...
    I have tried to restrict the key figures by 0CALMONTH2 and 0CALYEAR. The KF1 is havein a restriction to only show values for 0CALYEAR - 1 and an interval for 0CALMONTH2 from JAN - DEC.
    The KF2 is having a restriction to only show values in the interval "first month in year - current month" (in this example JAN - FEB) for 0CALMONTH2. And current year for 0CALYEAR.
    Despite my restrictions for KF2 the numpers repeats itself for every month...
    Any suggestion how I can resolve this?
    Best regards
    Anders Florin

    Hi Khaled and thank you for trying to help me!
    I agree with you and think the users should accept the report as it is. But they are claiming that top management will not accept this and they would really want this to be fixed the whay that they want. I have tried to push back on this and said that I'm not sure that it can be resoleved and that it could cost them a lot of money if I try.
    But I will try to resolve it for them if I have spare time in the end of the project. I have not promised them anything but it would really be nice if I could fix it.
    So when you say I need to use a structure and a calculated key figure. How should the calculated key figure and the structure be configured?
    If I use a structure in the rows I guess I can't use same object in calc.key.figure right? Like if I use 0CALMONTH2 in the structure I'm not able to restrict the key figure with the same object? If that is correct I also have a ZMONTH object, different story why I have that... , that I can use in the same way as 0CALMONTH2. Or is this only a problem when I use "local" formulas within the query and not using a "global" calculated key figure? Cause I have only used the "loacal" formula calculated key figure in this report....
    Br
    Anders

  • Sql select query problem

    hi friends,
    i've a view called "risk_efforts" with fields user_id,user_name,wknd_dt,week_day,prod_efforts,unprod_efforts.
    Name Type
    ROW_ID NUMBER
    USER_ID VARCHAR2(14)
    USER_NAME VARCHAR2(50)
    WKND_DT VARCHAR2(8)
    WEEK_DAY VARCHAR2(250)
    PROD_EFFORTS NUMBER
    UNPROD_EFFORTS NUMBER
    data is like this:
    when there is some data in prod_efforts, unprod_efforts will be null
    when there is some data in unprod_efforts, prod_efforts will be null
    for example:
    USER_ID     USER_NAME     WKND_DT     WEEK_DAY     PROD_EFFORTS     UNPROD_EFFORTS
    G666999     GTest     20100403     TUE     null 3
    G666999     GTest     20100403     TUE     14     null
    now i want to combine these 2 rows into 1 row i.e o/p should be like this
    USER_ID     USER_NAME     WKND_DT     WEEK_DAY     PROD_EFFORTS     UNPROD_EFFORTS
    G666999     GTest     20100403     TUE     14 3
    i've tried all combinations but couldn't get the query. Please help me with the exact SQL select query.
    thanks,
    Girish

    Welcome to the forum.
    First read this:
    Urgency in online postings
    Secondly, it's always helpful to provide the following:
    1. Oracle version (SELECT * FROM V$VERSION)
    2. Sample data in the form of CREATE / INSERT statements.
    3. Expected output
    4. Explanation of expected output (A.K.A. "business logic")
    5. Use \ tags for #2 and #3. See FAQ (Link on top right side) for details.
    You have provided #3 and #4. However with no usable form of sample data forum members will often not respond as quickly as they could if you provided #2.
    I'm just wagering a guess here but what about this:SELECT ROW_ID
    , USER_ID
    , WKND_DT
    , WEEK_DAY
    , MAX(PROD_EFFORTS) AS PROD_EFFORTS
    , MAX(UNPROD_EFFORTS) AS UNPROD_EFFORTS
    FROM RISK_EFFORTS
    GROUP BY ROW_ID
    , USER_ID
    , WKND_DT
    , WEEK_DAY                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Date function problems with dates from core not recognized as dates

    Our core provides dates in two formats: YYYYDDD and MMDDYY (YYYYDDD for today [2/21/12] would be 2012052).  We have determined that Crystal Reports is not viewing them as dates, but rather numbers. If querying on just a specific date, no problem. But if I want to use a date function like DayOfWeek, then things don't work.
    I need a report to always provide yesterday's data - except on Monday, where it needs to look back at Friday.
    I tried a criteria of:
    if DayOfWeek(CurrentDate) = 1 then {DDMAST.DATOP7} = CurrentDate - 2 else
    if DayOfWeek(CurrentDate) = 2 then {DDMAST.DATOP7} = CurrentDate - 3 else
    {DDMAST.DATOP7} = CurrentDate -1
    {DDMAST.DATOP7} is the date field from our core.
    I tried this but got an error message of "A Number is Required Here" and it highlights the CurrentDate - 2.
    Since we believe that Crystal Report is not viewing our dates as dates - but viewing them as numbers, what do I need to do to correct this?  Someone suggested I'd need to extract each date portion (month, date, and year) and create variables to "build" a date that Crystal Reports would understand.  Any suggestions?

    Hi, 
    You're correct.  There appears to be two branches in this thread. 
    To address your issue, Crystal only recognizes actual date types, ie. Months, Days and Years.  Your serial date isn't a recognized date type so we have to: 
    1)  Determine which format your date field is
    2)  Convert your number to a date using the appropriate formatting. 
    I am assuming your dates will either be 6 (MMddyy) or 7 (yyyyddd) characters long.  If there are other patterns you'll need to determine that. 
    The problem I found is what does your date for today (March 6, 2012) look like in MMddyy format? 
    Any month before October would never have a leading 0 if your date is stored as a number.  So you should take that into account as well using my logic. 
    I added that into the logic by checking for a length of 5. 
    NumberVar Full := 030612;
    StringVar myDate;
    myDate := ToText (Full, 0, "", "");
    Select Length (myDate)
        Case 5: Date (2000 + ToNumber (myDate [4 to 5]), ToNumber (myDate [1]), ToNumber (myDate [2 to 3]))
        Case 6: Date (2000 + ToNumber (myDate [5 to 6]), ToNumber (myDate [1 to 2]), ToNumber (myDate [3 to 4]))
        Case 7: Date (ToNumber (myDate[1 to 4]), 1, 1) + (ToNumber (myDate [5 to 7]) - 1)
        Default: Date (0, 0, 0);
    If you edit the first line and change it to: 
    NumberVar Full := 2012066;
    You will also get today's date.

  • Query problem with hierarchy filter

    Hello everybody,
    i have a problem with a BEx Query 3.5 on a BW 7.01-System. This query includes the cha cost category as free characteristic which is filtered on a node. When we execute this query everythin works correktly. When I now select a filter value in BEx fpr this char the formula value in the row does not change. When I drilldown on this char the correct data was shown. This problem occurs only with this hierarchy node. With other selected nodes this problem does not occur.
    We have regenerated this query in rsrt but that don't fix this issue.
    Has anybody an answer?

    hello,
    the problem is known. You may check whether implementing the following note solves the issue:
        1434532
    best regards,
    Jerome

  • Problem with Fiscal Year/Period

    Hi Expert,
    I am facing an issue with Fiscal year/per in my query. User is running the report on web. When he enters Fiscal year and period in selection screen, the report fetches correct data, however if I go to the information tab, there the value of the fiscal year/per is wrong. e.g. The user enters 010 2007. The report fetches 010.2007 data only but in the information tab, the value of the variable is shown 010.2008
    Please help me in identifying the issue.

    There might be one more variable in the query which is not of type ready for input.
    Fiscal year/per  can be the name of two variables in the query.
    Check in the query if you have one more variable.
    Hope this helps.

  • Data Modeler: Problems with importin from DDL and Designer

    I have a few problems with importing models from Designer and DDL:
    1. Can I import spatial indexes from Designer or DDL file? An index does appear in the model but it doesn’t seem to be a spatial index. When trying to import from database, the index doesn’t appear in the model at all.
    2. Is it possible to import sdo_geometry data types from DDL file? I haven’t succeeded with it, instead the column's data type appears unknown.
    3. Sometimes import from DDL files (that are generated with DM) failed with nothing appearing to the model. I haven’t figured out why that happens. I didn’t receive any error message, the model just opened empty.
    4. DM doesn’t seem to recognize public synonym creation from DDL. View log gives the following message:
    <<<<< Not Recognized >>>>>
    CREATE PUBLIC SYNONYM TABLE1
    FOR TABLE1
    5. Sequences lose their properties when importing from Designer. They only have a name but but start with, increment by and min/max values are empty in DM. Importin from DDL works fine.
    I’m using data modeler version 2.0.0 build 584

    Hi Alex,
    There is newer version of Data Modeler (3.0 EA2) and it is free
    You can download it from here
    http://www.oracle.com/technetwork/developer-tools/datamodeler/ea2-downloads-185792.html
    Regards
    Edited by: Dimitar Slavov on Dec 9, 2010 2:15 AM

  • Video -data viewing problem with diadem 10.1 and 10.2, while ok in diadem 10.0

    Hi,
    When viewing a video in combination with data channels (we have 3 EEG channels, tdm data, that we watch in parallel), diadem crashed rapidly when playing the video and data together in Diadem 10.1 and 10.2. We do not have any problems with Diadem 10.0. so we keep on using the older version to avoid any troubles. This just to notify, since other people may have the same trouble.
    Cheers
    Else

    Hi Else,
    We'd really like to reproduce this problem and get to the bottom of what is causing it, so that you could upgrade in the future.  Would you be willing to send me a data set consisting of your TDM, TDX, TDV, and video file?  You can either post here or send it directly to my email at:
    [email protected]
    Thanks,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Are there known data usage problems with iPhone 4S?

    I just got my first iPhone. I barely know how to use the thing and pretty much only use it for checking my work email. I blew through 7 GB of data in 20 days. From everyone I've talked to there is no way I have done this based on my limited usage. So something is running in the background that I can't control. I've turned off the cellular setting and told it to only use wifi, and when I'm at home it appears to be using my wifi. I read some other comments here saying it could be a problem with the iOS, but it didn't seem like a definite answer. Any other ideas?

    Last month I checked the data usage on my iPhone 4S three days after the start of a new billing cycle. To my shock I discovered that I had been charged with about 193 MB of usage. That was very odd because 193 MB is well above what my total data usage is each month. Immediately contacted AT&amp;T Customer Service--twice. Each time they could not provide an explanation as to why the data usage was charged to my phone. All they could tell me was that all of the 193 MB were charged on the very day the new billing cycle started. They did try to sell me a larger data plan.
    I thought maybe this was just an odd thing that couldn’t be explained. Kept a close eye on my data usage for the reminder of the billing cycle and didn’t have another large data charge. I still stayed well under the 300 MB plan limit even with the unexpected 193 MB of usage on day one.
    Then my wife checks her iPhone 4S data usage on day one of this month's billing cycle at about 9 AM. She finds that she has been charged with 30 MB of data usage when she hasn't even used her phone. Again, 9 AM; day one of new billing cycle; 30 MB of usage; no active applications running. How can this be? She contacted AT&amp;T Customer Service and once again they were no help. She made two phone calls and also spoke with one CS Manager, but no one could explain why she has been charged for the 30 MB. Anyone else having this problem? Please help us resolve this if you know what to do? Extremely frustrating to be charged for data we know we are not using. Getting no help from AT&amp;T Customer No-Service.   

  • PreparedStatement.setDate(1,java.sql.Date x) problem

    I am using Sun JDBC-ODBC bridge to access MS SQL Server 2000. I have following statement:
    java.util.Date date = new java.util.Date();
    java.sql.Date expire_date = new java.sql.Date(date.getTime());
    PreparedStatement pstat = con.prepareStatement("update account set expire_date=? where userid=?");
    pstat.setDate(1,expire_date);
    pstat.setString(2,userid);
    When I ran the program, I got a SQLException error as
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Optional features not implemented.
    I have traced the problem happened in the statement pstat.setDate(1,expire_date). I use jdbc-odbc bridge from j2se 1.3.1.
    I appreciate any help.
    Thanks, Brian

    May I refer to a recent topic where I explained a lot about date conversion between JDBC and SQLServer?
    http://forum.java.sun.com/thread.jsp?forum=48&thread=241049
    Try how far this helps you, then ask more.

Maybe you are looking for

  • HT201210 My ipad mini is stuck in a continues reboot and will not turn on or shut off. What can I do.

    My Ipad mini was in the middle of an update for the Pintrest app when the upload froze. I tried shutting down the ipad and that seemed to cause it to go into a constant reboot. Now the ipad will not turn on or shut off. Only display the apple sign. A

  • Constraint in Materialized View misbehave

    Enviroment Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options s.o : windows 7. on laptop Intel core i7. create table product_type ( product_type_i

  • How do I revert to IOS 8.0.1 from 8.0.2

    Upgraded to IOS 8.0.2 and now Splashtop app says computer i need to connect too is asleep and I know it is not.. How do I revert from IOS8.0.2  back to IOS8.0.1 ?

  • Flex 4 lacks the default-background-color compiler option?

    Hello, started converting my Flex 3 applications to Flex 4 and noticed that Flex 4 lacks the default-background-color compiler option. Flex 3 has it: http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html Flex 4 doesn't: http://hel

  • PropertyResourceBundle gives NullPointerException

    Hello, I don't know if this is the right place to post, but it seems the nearest one to my Problem. The Problem is, like stated in the Topic, PropertyResourceBundle gives me a NullPointerException when using it in an Applet. First things first: I'm u