Questions tagged [string-constant]

String constans refer to quoted string literals, or in some languages also to constant expressions formed from them, usually via concatenation.

79 questions
0
votes
1 answer

PSQL [error] - value being recognized as a column

I just started learning database a couple of days ago. I'm running into this problem where my value is being recognized as a column, and it's spitting out an error. This is my News table: id | bodyText | url | createdAt | updatedAt…
kimmo
  • 19
  • 6
0
votes
4 answers

What should happen, when we try to modify a string constant?

#include #include int main() { int i, n; char *x="Alice"; // ....... 1 n = strlen(x); // ....... 2 *x = x[n]; // ....... 3 for(i=0; i<=n; i++) { printf("%s ", x); x++; } …
Jhansi Rani
  • 449
  • 1
  • 5
  • 11
-1
votes
1 answer

dataset not returning doing select oracle sql

I have a data in oracle db DJSHJSJD-DJDJJJDK-D'FJDJSS when i tried to do a filter it is throwing error select * from test where dummy='DJSHJSJD-DJDJJJDK-D'FJDJSS' ; ORA-00933: SQL command not properly ended 00933. 00000 - "SQL command not properly…
Data2explore
  • 452
  • 6
  • 16
-2
votes
1 answer

Why String doesn't use scp only

We know that String create object in heap and scp based on situation but what if String use only scp for every situation, so that we can save some memory space
1 2 3 4 5
6