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

  • Home
  • SEARCH
  • 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 6544385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:27:33+00:00 2026-05-25T11:27:33+00:00

In my table, I have a column that is publicationDate , publication date set

  • 0

In my table, I have a column that is publicationDate, publication date set as NVarChar that data model stored in column like these:

2008
2008-05
2008-10-23

I’ve created a fulltext index on this table when I get a query from SQL with this:

SELECT * FROM BOOKS_DETAILS WHERE CONTAINS(PublicationDate, N'2008')

It’s just returned :

2008 
2008-05

but doesn’t return 2008-10-23

So how can I get all data that contains 2008 ?

  • 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-25T11:27:33+00:00Added an answer on May 25, 2026 at 11:27 am

    How about just simply:

    SELECT (list of columns)
    FROM dbo.BOOKS_DETAILS 
    WHERE PublicationDate LIKE N'2008%'
    

    Really no need for a fulltext index….

    If you search on this column PublicationDate rather frequently, then an index on that column would be something to look at and it might help speed up those queries.

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

Sidebar

Related Questions

i have a table that have one column (AbsoluteUrl NVARCHAR(2048)) and i want to
I have a table with a column that needs the data type upgrading. However
I have SQL table that has a varchar(8) column that occasionally has binary data
I need a select from table which does not have column that tells when
I have a table column that needs to be limited to a certain width
I have a table with an identity column that have incremented by 1 for
I have a table that has a column that has the cost of a
I have mysql table that has a column that stores xml as a string.
I have a table with a SortID column that is numbered using consecutive numbers.
I have a table (T1) in t-sql with a column (C1) that contains almost

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.