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

  • SEARCH
  • Home
  • 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 3312832
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:02:34+00:00 2026-05-17T22:02:34+00:00

I have requirement where as an attachment user can add a link from sharepoint

  • 0

I have requirement where as an attachment user can add a link from sharepoint
So that we can save the link[path] of the attachment instead of actual attachment.
For this we are planning to design a column which is varchar(512) . Intially
we thought this would fit any type of URLs effectively ,but sometimes we found this is too tight
for saving into Databases. My points are

  1. Is this a correct design .
  2. We plannned to use TinyURL.com but we cannot gurantee all users have Internet(target users are with in org can or cannot access Internet). So ruled out this option.
  3. Does java provides any API for shortening URLs.

Thanks in advance

  • 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-05-17T22:02:34+00:00Added an answer on May 17, 2026 at 10:02 pm

    In general, URLs cannot be shortened without removing useful information. Services such as TinyURL.com work by maintaining a database of “short URL” to “full URL” mappings. If you want to shorten URLs you would need to implement something like this yourself internally, so a separate table would be required anyway to hold this mapping. You would be just moving the problem somewhere else.

    I guess you will just need to define a suitable URL length limit and define your column accordingly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a requirement to take the test data from Excel sheet and write
I have a requirement for an ASP.NET web application whereby the same user is
I have a requirement that I need to run the tests through commandline as
I know how to use TTImageView, but now I have this requirement in my
I have the requirement to access the following data, where available, on mobile phones
i have requirement. i have created the window application and i have created the
I have requirement: for a function, I get the input as a stream of
I am using Team foundation system and I have requirement in which I want
I am using UITextView In my View , I have requirement to count number
Hi I have a program that deals alot with vectors and indexes of the

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.