Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 7 years ago.
Improve this question
I have a problem with a database hosted by Microsoft SQL Server 2008 R2.
I made a table with some varchar(length) columns.
The problem is, when I insert anything in it, it leaves "blank spaces" in the end of the column, messing everything up.
So the columns practically looks like this =
some_value _________
(__ = blanks)
Sometimes the blank spaces are even longer...
And I cannot delete them, cause even when deleting them, they get back in place.
What is it the issue?
Is the varchar(length) too high?
The fact is I cannot set it shorter, cause the value I'm going to insert in the table isn't fixed in length..
Any fix?
Related
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 years ago.
Improve this question
I have a PLSQL block that is supposed to insert rows in a table and it works fine. I am trying to create a scheduled job on SQL Developer so that it can run the block, say every day.
I created the job and embedded the PLSQL block within it but it seems as if it isn't working.
There are no errors but nothing is being inserted in the table.
Any thoughts?
Verify the job status:
SELECT job_name, status, error#
FROM user_scheduler_job_run_details
ORDER BY job_name;
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 years ago.
Improve this question
I cannot do queries. I have pretty much set up everything correctly
You have selected Database to be master. Select the appropriate Database where your table exists.
In this case, select 'sqlexpress', database
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 5 years ago.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Improve this question
I have basic database table with some rows. see the queries below.
first query selects a record from the database.. you see the result. that result is not the same as the other two result. yet I am retrieving the same record from the table using the different columns/methods.
correct record is the second and 3rd select queries.
PWTransferID is the primary key. PWtransfernumber is non clustered index/Unique
I am really confused and have never seen a problem like this. can anybody shed some light on this for me. almost like the database is broken some where.
Is that just a typo in the first query? Should 227 be 277?
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
my Visual basic seems to replace characters in front of it and only occurs between brackets.
Can someone please tell me how to change it back to normal?
You can use the Ins key to switch between insert mode (where text moves to the right as you type) and overtype move (where text to the right is overwritten by the new text you type). The cursor changes to show which mode you are in. This behaviour is common in Windows programs.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
I have a table called programmes and an attribute called PROGRAMMES_COURSE. One of the course is engineering.
If I were to find the engineering field just by typing eng,what syntax do I use?
I have tried this but I know it's wrong
SELECT * FROM programmes WHERE PROGRAMMES_COURSE LIKE 'eng%'
SELECT *
FROM PROGRAMMES
WHERE PROGRAMMES_COURSE LIKE 'eng%'
This query should work without any problems. If it does not find what you need, you should provide more information so we can find out where the problem could be.
Try this
SELECT *
FROM PROGRAMMES
WHERE PROGRAMMES_COURSE LIKE '%eng%'