Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 745851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T09:37:52+00:00 2026-05-14T09:37:52+00:00

I have a column of date datatype. The user may type in any date.

  • 0

I have a column of date datatype. The user may type in any date. I need to check in the code for unique year values in the column. Is there any C3 direct syantax is tere or I need to use CMAL query… Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T09:37:53+00:00Added an answer on May 14, 2026 at 9:37 am

    You have no other options, but to use CAML Query.
    To achieve better performance, do the following:

    1. Use CAML Query and specify RowLimit
      = 1 for better performance.
    2. If you must have unique year value,
      then that list data can be no way so
      huge that it would cause major
      performance implications unless you
      have other list data of different
      content types in list. If you do,
      don’t forget to specify what content
      type are you querying in your query
      like <FieldRef
      Name="ContentTypeId"/><BeginsWith>0x...</BeginsWith>
      .
    3. Oh, and in queries ViewFields
      specify only that field you’re
      interested in.

    Just make as specific query as you can.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a DATE datatype mysql column in a table. I want to set
I have this query which returns a result set with Date(column) as nvarchar datatype.
I have a column of type date, and another of type time, and I
In mysql database i have this column called: Name: Date Type: datetime I have
I have an Oracle DATE column with, for example, these values: RUN_DATE ------------------- 2012-06-09
I have a column with datatype Date time and so contains value such as:
I have a varchar column which contains date in following format dd/mm/yyyy I need
I have the following column date in a SQL Server database. The datatype is
Right now I have this code: $mysqldate = date(time()); mysql_query(INSERT INTO permissions (date) VALUES
In my db, I have a column, 'Transaction Date' with datetime datatype. For instance,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.