Recent content by lsy

  1. L

    Order clause by own ordering method

    how can i put default in the switch function?
  2. L

    Order clause by own ordering method

    I have a column name priority, in this column, the data consists "Very High, High, Medium, Low and etc" how can i make a order clause acording to the Priority level? i found from this from net, but is only applicable in SQL server... how can i modify this to suit mine? SELECT * FROM TABLE...
  3. L

    Inserting a single quotation ' or double quotation "

    i'm using ADO... how can i apply the parameterized query in a string of my sql statement?? i have string variable for my sql, during inserting, how can i apply parameterized query to those variable that in used? if valA is abc'de"f valB is aaa CString sql = "INSERT INTO TABLE (COLA, COLB)...
  4. L

    Inserting a single quotation ' or double quotation "

    is there any one know how to transform this to VC++?? if i use replace, that would be bit messy as i need to replace ' to '' and " to \"... or anyone got any good suggestion? help...
  5. L

    Inserting a single quotation ' or double quotation "

    sorry, i don't understand what is parameterized queries??
  6. L

    Inserting a single quotation ' or double quotation "

    how if i want to enter a string with the combination of ' and "?? example: ab'c"def
  7. L

    Inserting a single quotation ' or double quotation "

    i would like to insert an SQL statement from my application which writing in visual c++, but due to my insert data contain ' and " so is prompt error during inserting. So would like to know how can i insert an ' and " in MS Access database using the sql statement.
  8. L

    Inserting a single quotation ' or double quotation "

    How can i insert a single quotation ' or double quotation " to the Ms Access database?
  9. L

    Table link

    Is it possible to link 2 table in 1?? i wish to link tblConfiguration1 and tblConfiguration2 into tblMaster table??which like i select Configuration1 in tblMaster table it will show the data in tblConfiguration1 and select Configuration2 in tblMaster table it will show the data in...
  10. L

    Table link

    i don't get what you means by creating view??
  11. L

    Table link

    Is it possible i create one master table and link few table together?? In the mdb that i attached there have 3 table - tblMaster, tblConfiguration1 and tblConfiguration2. Using the relationship to link tblMaster's field Configuration to other 2 table Configuration field but there only showing 1...
  12. L

    Need help in work week

    i'm looking for work week not month... i try using datepart... but it unable to show me "ww yyyy" in one record. thanks.
  13. L

    Need help in work week

    i would like to querry a date which only showing work week and year... i try in FORMAT([MYDATE], 'WW YYYY', 1, 2)... it work but when go to 31/12/2006 it showing "01 2006"... but suppose it should show "01 2007" how can i overcome this?
  14. L

    Empty string in date/time datatype

    is it "IS NULL" and "IS NOT NULL" same with " = NULL" and "<> NULL"?
  15. L

    Empty string in date/time datatype

    there is a end_date column record with date/time datatype, how could i query datat that showing the particular is empty. i try end_date = NULL, no record is showing and end_date = ' ' , datatype mismatch... so which one should i write??
Back
Top Bottom