Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8698117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:40:13+00:00 2026-06-13T01:40:13+00:00

I am trying to prove a table design flaw in a production db, that

  • 0

I am trying to prove a table design flaw in a production db, that a table must not have a clustered primary key on a column that can have a random data, in this case a code keyed in by end user.

Though we know the solution is to make the PK as non-clustered, I still need to add rows to it for testing purpose on its replica. Therefore, I will need to know what would be the character I can use after ‘Z’ as a prefix.

More, the column is not a unicode, and it would be a mess to prefix my fake data with a series of Zs. The table is now having hundred-thousands rows, and each insertion is taking seconds.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T01:40:13+00:00Added an answer on June 13, 2026 at 1:40 am

    Just run this and go down the list. I added the sandwiching dots for clarity, esp. when non-visible characters are involved.

    select number, '.' + char(number) + '.' collate SQL_Latin1_General_CP1_CI_AS thechar
    from master..spt_values
    where type='p' and number between 28 and 255
    order by thechar
    

    There are only 4 characters coming after ‘Z’, since you say the column is not N(Var)Char.

    121 .y.
    89  .Y.
    253 .ý.
    221 .Ý.
    255 .ÿ.
    90  .Z.
    122 .z.
    208 .Ð.
    240 .ð.
    254 .þ.
    222 .Þ.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to prove that changing document.domain can be used only for cross scripting
Simple case of trying to prove I can convert NSString to NSDate . Create
I'm trying to simply prove here that this simple function isn't good enough to
Reduction of many one , is not symmetric . I'm trying to prove it
I'm new to powershell and this question will prove that point. I'm trying a
I have a table which uses a background image that is 1500px wide. Since
So, here it goes: I have a table that is returning timespans for a
Recently I've been trying to restructure an old database that was not designed with
I have a table with several columns that allow NULLs. How would I go
I'm trying to prove a point to on of my customers that the system

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.