Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
327 views

I am trying to update varchar cell in SQL users table. Now the value of groups_id is 3. $last_id = 4. I want to change it to 3, 4. Could you please tell me what I am doing wrong? With this code the ...
Kibble Shop's user avatar
2 votes
2 answers
56 views

The table has a column that is type varchar6 containing 6 numbers between 000000 to 999999, or is empty. No matter what values you give the various variables for this column SEQ, it keeps returning no ...
Kuei's user avatar
  • 35
0 votes
1 answer
63 views

I'm trying to get my query to use a where clause to find information coming back from a query that is casting a particular column as varbinary and varchar. I have to cast because the original data is ...
aquamelli's user avatar
3 votes
1 answer
6k views

I have a MySQL table and I have the need of increasing the capacity of two columns. One column resized fine with this command: ALTER TABLE TABLE_NAME MODIFY COLUMN COLUMN_NAME varchar(7000); The ...
spiderwebdev's user avatar
1 vote
3 answers
3k views

I am pretty new in Hive and I have created a table below few months ago create table TableName ( EntityRelationship varchar(20), EntityID varchar(50), EntityName varchar(50), ...
YJG's user avatar
  • 133
0 votes
1 answer
56 views

Can I use VARCHAR to store this GVC/AK/CR/1/2017/001? CREATE TABLE clients ( client_id INT AUTO_INCREMENT , name VARCHAR (50), phone_no INT (11), plan_no VARCHAR (20), ...
Ezeocha Uchechi's user avatar
0 votes
1 answer
761 views

Please Help, I have an existing database that uses a char(12) as its PK. CREATE TABLE sop_customer ( customer_id char(12) NOT NULL, PRIMARY KEY (customer_id), ) ENGINE=InnoDB DEFAULT CHARSET=utf8;...
Brownerg's user avatar
0 votes
1 answer
186 views

Is it possible to use the Locate() function on TEXT column, or is there any alternative to it for TEXT fields. the thing is we have LARGE varchars (65kb) that we use to track for subscriptions, so we ...
Noobit's user avatar
  • 11
-1 votes
3 answers
1k views

In my table I have an entire column that has varchar date, here is what it looks like: 2/1/2020 02:30:00 (date is m/d/yyyy) I want it to convert to standard MySQL date format (yyyy-mm-dd) or maybe if ...
aaa28's user avatar
  • 81
0 votes
1 answer
47 views

I have a question related to data type. Now I'm trying to import a flat file into my destination database. I import the flat file into one table A inside my staging database. All the columns in table ...
Bean Huang's user avatar
0 votes
0 answers
47 views

I have a table tblemp with column 'value' of type 'varchar' in that column i have a cell named 'bankname' . I want to make 'bankname' of type nvarchar. How can i do that?
Joshi2dec's user avatar
0 votes
3 answers
5k views

The table users was badly designed. The created_at and updated_at records were set with the VARCHAR type and the values were placed in them for a long time in the format like 20.10.2017 8:10. It is ...
Alexander Bal's user avatar
0 votes
1 answer
165 views

Hi i have a table with field i need to store a text/json/xml into. If i insert just one record with a length of about 20MByte it takes forever about 50 seconds. The table is defined like this table { ...
user2587790's user avatar
0 votes
0 answers
57 views

I am facing a problem with the convertion of a varchar in a numeric value. I have following SQL Code DECLARE @Test varchar --f.e. '12345' DECLARE @TestNum int ....... IF ISNUMERIC(@Test)=1 then ...
Thomas's user avatar
  • 9
1 vote
1 answer
855 views

How to insert a varchar into byte(blob) column? Consider i am having a table A with byte(blob) column 'name'. INSERT into A (name) values('abc'); throwing error as "617: A blob data type must be ...
SeeRam's user avatar
  • 33
0 votes
1 answer
344 views

I am running a simple grails query with a string parameter. When looking at the query that is generated in SQL Server profiler, the query forces an implicit conversion from nvarchar to varchar which ...
csr61875's user avatar
7 votes
3 answers
4k views

I have this sample query: context.BarcodeTipiDoc.AsQueryable().Where(d => d.Barcode.CompareTo(minBarcode) > 0); That query runs very slow because Entity Framework creates SqlParameter for "...
Stefano Balzarotti's user avatar
2 votes
2 answers
668 views

-- 2 Moderators: please do not re-format my code DROP TABLE IF EXISTS `t`; CREATE TABLE `t` ( `v` VARCHAR(3) NOT NULL COLLATE 'latin1_general_ci' , `c` CHAR(3) NOT NULL COLLATE '...
fifonik's user avatar
  • 1,646
0 votes
3 answers
2k views

I have one column AgentName in a table Test which contains more characters. I am getting differences in length as shown below. If you see "C" , I have copied the output of @TMP and doing DataLength ...
Shreeraj Bhat's user avatar
0 votes
0 answers
384 views

I'm literally new to SQL, trying to do a little address book as a database, issue I ran into was as described in the title. My table: creation CREATE TABLE IF NOT EXISTS mydb.Addr ( idAddr ...
Betval's user avatar
  • 3
0 votes
0 answers
1k views

Delphi 10.3.2 enterprise, database ASA (SQL Anywhere 17.0.9.4913). I have this table CREATE TABLE string_null( lo_key integer NOT NULL DEFAULT AUTOINCREMENT PRIMARY KEY, str_short char(100) ...
Feacio's user avatar
  • 90
0 votes
1 answer
455 views

I'm using TYPO3 9.5. LTS and insert some fe_users. The TCA input field title is to short for me, only 40 characters. I need more, so the value must be at least 255 characters (varchar). How can I ...
user2310852's user avatar
  • 1,674
0 votes
0 answers
649 views

In MS SQL, I have large XML data which i want to cast and store it in a varchar(MAX) variable but its not working. when i try to capture the data in varchar variable it is missing some part of the ...
RAJ's user avatar
  • 57
0 votes
2 answers
922 views

I have the following table schema - CREATE TABLE `tablename` ( `id` bigint(15) NOT NULL AUTO_INCREMENT, `uuid` varchar(400) NOT NULL, `pre_notif_action` varchar(30) DEFAULT '', `...
Sandeepan Nath's user avatar
0 votes
1 answer
703 views

I am creating a column in postgres that must only accept 10 characters. VARCHAR(10) works in the sense that it allows data to be a maximum of 10 characters, however i cant seem to figure out a way to ...
leetbacoon's user avatar
  • 1,377

1
3 4
5
6 7
30