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 8392191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:27:22+00:00 2026-06-09T19:27:22+00:00

I am getting the error No data! (sqlJadual) From this query mssql_query(SELECT * from

  • 0

I am getting the error

No data! (sqlJadual)

From this query

mssql_query("SELECT * 
             from tblstatusjadual 
             where idjadual like '1%' and 
                   tahun='2011' 
             order by idjadual") or die('No data! (sqlJadual)');

But, when i change it to

mssql_query("SELECT idjadual,status 
             from tblstatusjadual 
             where idjadual like '1%' and 
             tahun='2011' 
             order by idjadual") or die('No data! (sqlJadual)');

it works fine.

it’s okay if I only select from 2 fields, but when I want to select more than 15 fields the query become long and confusing.

my question is mssql does not support select * in their query?

Any help would be appreciated!

  • 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-06-09T19:27:23+00:00Added an answer on June 9, 2026 at 7:27 pm

    I’m mentioning my comment as an answer here ’cause it helped you and the next time anyone visits/faces a similar kind of situation, he/she may refer this (instead of scanning the whole string of the above comments’ series).

    If you issue a SELECT * against an MSSQL table and your table contains a TEXT column with a blank string, you either

    1) Change the datatype of that column to varchar
    2) Reset the value of the column from blank string to NULL.

    to make the SELECT * work.

    (On another note, I’ll recommend instead of using SELECT *, you include only those columns in your query which you really require.)

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

Sidebar

Related Questions

I am getting an error when I run this query because the data type
On the query below I keep getting this error: Cannot read the next data
I am getting this error: Data at the root level is invalid. Line 1,
Getting error while inserting values into database (SQL Server 2008) Implicit conversion from data
i am getting following error while getting data from dictionary -[__NSCFString objectForKey:]: unrecognized selector
I keep on getting this error error: expected specifier-qualifier-list for core data code im
i am using core data in my application. i am getting this error when
I'm getting this error: Data type mismatch in criteria expression when trying to execute
Hello I am getting this error - 'Error converting data type nvarchar to bigint'
when trying to enable and reindex Product Flat Data - getting error from magento

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.