while inserting the values i am getting "invalid number" error - sql

sq
in image you can see that i am getting error "invalid number".
how can i fix this error.

you should check your data types for every column where you want to insert data. For example I see that you try to add data with "$9,99" which seems a little bit strange. May have a look again.

Maybe there is a column of orders which expects a number and you're trying to insert an non-number.
You could double-check the table definition in SQL Developer or by using DESC <table>.

Related

Problems using cubeSQL trying to add data to table

I just got cubeSQL admin and SQL Lite manager, and am new at this, trying to create a database for an mobile app to get video info and urls from to stream. I set up a database and connected it to the manager, but cannot get it to accept the script that I am using. This is what i am putting in to get it to add data to a table.
INSERT INTO Sabbath School
VALUES
(number 1, hello, great, google.com, google.com),
This is the error I get:
Here are screenshots of what I am working with. The first one is the database:
The next one is the table configuration
The final one is what the table looks like.
Any help would be most appreciated as to what I am doing wrong here. I am really not knowing what I am doing and trying to learn how to use sql.
This looks a "quoted identifier" issue. Since the table name has a space in it, you will need to surround the table in double quotes. The query parser believes your table name is "Sabbath" and is expecting the VALUES keyword next, or an opening parenthesis ( to start your (column list). Since it sees "School" next, you get the syntax error. My preference is to avoid spaces in table names so you don't need to quote it all the time.

"Truncated incorrect DOUBLE value" error in DataHandler TYPO3 9

I have an array with about 400 records to insert into a database table
I have tried inserting with the DataHandler and I faced the issues below:
After inserting 195 records, it gives the "Truncated incorrect DOUBLE value" error.
When try creating new record in the list module, it still gives the error above.
If I limit the records to insert to a maximum of 194, records are inserted with no errors
and I can also create records in the list module but the records are duplicated in the database.
For another approach, I used the QueryBuilder's insert() to directly insert the data into the database table.
All the data was inserted as I wanted but when I try to create a new record in the List module, I get the "Truncated incorrect DOUBLE value" again.
But if I limit to 194 no error occurs in the List module when creating a new record.
I will be very glad on help with this problem.
I found something regarding that error and MySQL, e.g. MYSQL Truncated incorrect DOUBLE value
It seems to come from obscure syntax and other quite unrelated MySQL parser errors.
I would try changing values from int to string in your DataHandler-array.
To help you one would need the relevant Datahandler-code with the array-record that is failing and the column definition (DESCRIBE tablename) for the table in question. Also the database version would be interesting.

exporting the data gives error when the type is 'smalldatetime' and value is null

In SQL server, I have a table with 'smalldatetime' data type for one of the column. When I am trying to export the data using Microsoft SQL server import/export wizard, it is giving me conversion error because the field contains NULL value in Date field. Can you please help me in resolving this error.
What steps need to be followed in order to resolve the conversion error.
Are you trying to copy "table to table" or "query to table"?
Cause if your problem is only with null values you can write a query and use ISNULL() function.
Can you post the error here? I´m asking cause maybe your problem isn´t it. Maybe you´re trying to convert a type into another that is not compatible.

Google BigQuery: Error: Invalid schema update. Field has changed mode from REQUIRED to NULLABLE

I'm trying to append the results of a query to another table.
It doesn't work and sends out the following error:
Error: Invalid schema update. Field X has changed mode from REQUIRED to NULLABLE.
The field X is indeed REQUIRED, but I don't try to insert any NULL-values into that specific column (the whole table doesn't have a single NULL value).
This looks like a bug to me. Anyone knows a way to work around this issue?
The issue is fixed after switching from Legacy SQL to Standard SQL.

Error with Big query large data set query

I am querying a large public data set in Big Query and when I select the entire table, I get an error saying the result is too big and I should enable the "Allow Large Results". I read through the documentation for this and followed the steps mentioned,
Select a destination table
Check " Allow Large results"
Despite doing this I get a very vague error that says "Required parameter Missing". I am not sure how to fix this error and what parameter is missing. I Wuld greatly appreciate if anyone who has encountered this error is able to provide some inputs
Error page snapshot
Check out value for your destination table! - data-analyst-1326:null.tbl1
The dataset value is null!
Hope this will help