Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Spam and Abuse Watch
  4. ChatGPT Plagiarism in Quick Answers (Member: 15897872 | Marco Garganigo)

ChatGPT Plagiarism in Quick Answers (Member: 15897872 | Marco Garganigo)

Scheduled Pinned Locked Moved Spam and Abuse Watch
databasesql-serverquestioncomsysadmin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Graeme_GrantG Offline
    Graeme_GrantG Offline
    Graeme_Grant
    wrote on last edited by
    #1

    Solution: Remove first char in field mssql[^] Solution Posted: To remove the first empty character in a string in SQL, you can use the SUBSTRING() function and the LEN() function. The SUBSTRING() function is used to extract a portion of a string and the LEN() function is used to get the length of a string. Here is an example of how you can remove the first character from a string stored in the column work_name in a table named dbo.work:

    UPDATE dbo.work
    SET work_name = SUBSTRING(work_name, 2, LEN(work_name))

    My ChatGPT Query Response: chat gpt.png - Google Drive[^] To remove the first character of a field in a SQL Server table, you can use the SUBSTRING function. Here is an example of how you can update the "work_name" field to remove the first character:

    update dbo.work
    set work_name = SUBSTRING(work_name, 2, LEN(work_name))

    Not 100% identical but it depends on the difference in the questions asked. I just posted the OP's question and text verbatim. The sample code is the same. Other solutions have the same smell: Member questions & answers[^] member: Marco Garganigo - Professional Profile[^] - Member since Wed 18 Jan 2023

    Graeme


    "I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee

    “I fear not the man who has practised 10,000 kicks once, but I fear the man who has practised one kick 10,000 times.” - Bruce Lee.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups