Avoid the Name field duplicate

I want to avoid the Name field duplicate value from my table  Say table structure
Create table Participant (id int CONSTRAINT PK_ID PRIMARY KEY , ParticipantName varchar(50) )
Thanks in advance

You should use Unique key for omitting duplicate value in a specific table's field :
Create table Participant (id int CONSTRAINT PK_ID PRIMARY KEY , ParticipantName varchar(50) unique )
Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

Similar Messages

  • Is it possible to view ".mp3" files in Mavericks "Tags" windows by file name (rather than the info in the "name" field of it's ID3 tag)?

    Short version:
    When viewing ".mp3" files in a "Tags" window, the information in the "name" column next to the file defaults to the information in the "song" field in the file's ID3 tag.
    Is it possible to change have the "name" column display the actual FILE NAME instead?
    I did some research and found nothing.
    Long version
    Let's say I have a ".mp3" file named "Todd Rundgren - Hello It's Me.mp3"
    When I open the folder this ".mp3" is in and find the file, the "name" column will read "Todd Rundgren - Hello It's Me.mp3" (of course)
    Now, I tag the file "jams"
    Now I go to my "jams" tag view everything tagged "jams", the "name" column in that window DOES NOT say
    "Todd Rundgren - Hello It's Me.mp3" , but instead just "Hello It's Me"
    The finder seems to be pulling this information from the "name" field of the ".mp3" ID3 tag metadata (aka, the information that would be written in the "name" column when viewing the file in iTunes.)
    Ok, that's fine Mavericks, but I want to see the ACTUAL FILE NAME of my ".mp3", (which "tags" windows seems to do for most other things [documents, folders])
    Q: Is it possible to display the filename of a ".mp3" file when viewing a "tag window?"
    Tags are super useful, but this inconsistency makes it inefficient, distracting, and confusing to move freely between the window for a given "tag", and a normal "finder" window.
    Any help would be greatly appreciated, thanks!

    You are not alone…
    https://discussions.apple.com/message/24065588
    https://discussions.apple.com/thread/5762545
    I think you have to avoid editing inside the tags list with the 'metadata names'. Instead right click an item, select 'Open enclosing folder'.
    In 'real folders' you can enable the 'Title' in column via the 'Veiw Menu > show columns', that way you can see the file name & ID3/ EXIF titles.
    'Fake folders' (smart searches & the recent tags list) don't feel finished yet IMO.

  • How to read the "Name" field from document library in workflow?

    Hi,
    The task I'm trying to accomplish looks pertty simple: I need to read a value of the item's "Name" field inside the workflow. I try to do it using LookupSPListItem and GetDynamicValueProperties activities. I can get value of the "Title"
    field, also I created custom field and can read it too.
    But the "Name" field always comes empty.
    I guess I need to use some tricky syntax or this field has some different "internal name"?
    The workflow is designed in VS 2013.

    Thank you. Looks correct, since when I enter this path (FileLeafRef) into GetDynamicValueProperties
    and change Entity Type to list of documents it changes to Name
    automatically.
    But somehow it doesn't work too. (:
    I also tried LinkFilenameNoMenu and LinkFilename
    - same result.
    EDIT: Solved. :)
    Looks like FileLeafRef is not loaded by default by LookupSPListItem, so you have to pass this property name via
    Properties collection. The bad news is that in this case other properties won't be loaded if you didn't add them to this collection.
    Anyway, it works. :)

  • What is the checkbox for in the name field?

    what does the checkbox in the name field do? i have audiobooks that i have already listened to and want them off my ipod (but still on the pc). there does not seem to be a way to have it not sync them like you can with a video already watched (ie: tv shows). when you uncheck the checkbox it just shows on the ipod with the checkbox unchecked as well.

    In iPod preferences there is a checkbox option to not sync unchecked items. When used this option can be used for keeping tracks from syncing to iPod.
    Another function of the checkbox in track name is an unchecked track will be skippind in iTunes when playing. It can still be played when selected individually though.

  • Can't add to portal favorites with "&" in the name field

    Hi there
    Interesting problem which has been identified this morning ... it appears that certain iviews cannot be added to the portal favorites, and upon closer inspection, it appears that those iviews all have the "&" character in the name field.
    For example, we have an iview with the name of "SAA013 Summary of Sales & Gross Margin vs Approved Plan". As you can see, its quite long, so anything to save some space.
    If I remove the & and replace with "and", then I can add to portal favorites.
    Has anyone else come across this and found an alternate solution? I could probably get away with convincing the client to allow "and" to be inserted, but then there's quite a few iviews that will have to be renamed, which is a rather tedious task.
    Cheers,
    Andrew

    Hi,
    For some reason the note wasn't released.
    Now it is released.
    Its content:
    Symptoms:
    Portal Favorite doesn't work for object that contain the symbol "&" in the name.
    Keywords:
    Portal Favorite, navigation
    Reasons:
    The problem was a missing in the encoding of the name
    Solution:
    Fix in SP12 patch #4
    SP13 patch #1
    SP14 Patch #1.
    Regards,
    Tal.

  • HT2240 When I enter the Quick time 7 to register the pro version all it does is cycle back to the name field. I have check the info that I entered and it seems correct. How do I register?

    When I enter the Quick time 7 to register the pro version all it does is cycle back to the name field. I have check the info that I entered and it seems correct. How do I register?

    Enter in the name, exactly as in the email Apple sent you, and the key, and then press the Tab key. Do not press the Enter/Return key.
    Hope this helps.

  • How to avoid the Summary Fields in CrossTab

    Hi all,
    I have created a report using crosstab view,,,in that i have selected two fields in the value column..but in the summary field i need to select only one column....
    but i cann't select only one field in the summary..Is that possible....if so please help me on this.....
    Thank You,
    Katchsathish

    Hi Kuldeep,
    Condition 1:
    If you try to take one Dimension and one measure like Year and sales revenue using e-fashion demo universe then new column inserted will be nested when using cross tab where the measure values will be spread across multiple columns.
    In this case you have to use condition to refer individual column names like
    =[Sales revenue] Where([Year]="2001" )+ [Sales revenue] Where([Year]="2002")
    and calculate the sum.
    Select the measure column in the cross tab then click  the u201CInsert Sumu201D button it will display the sum in the last column of the cross tab then you can modify the formula generated to specify the condition which columnu2019s sum you want o display in that column.
    Ex:  Use e-Fashion universe and take Year and sales Revenue turn it to cross tab and follow the process I mentioned.
    Condition 2:
    However if you use one dimension and multiple measure like the one you are using where you are trying to calculate sum of col1+col2 and so on. In this case you can directly insert the column and calculate the sum of column referring their names.
    Ex: Use e-Fashion universe and take objects Year, Sales revenue. Quantity sold, Discount, margin here you can directly sum individual column values like sales revenue, quantity sold and discount +margin by inserting the column in between the columns using u201Cinsert Columnu201D
    I  Hope this helpsu2026
    Thanksu2026
    Pratik

  • Is there any way to stop Illustrator from adding "copy" to the name of duplicate layers?

    In the layers panel, when I duplicate a layer (or layers) illustrator appends the name of the duplicate with copy, copy 2, copy 3 etc.). Can this behaviour be turned off so that the duplicate layer name is identical to the original?

    I doubt it. While Illustrator will allow you to manually assign the same name to multiple layers, I don't believe there is a switch to make it happen by default. Auto-naming of anything is always going to be "protective."

  • DHCP Leased Addresses show an IP in the name field.

    We have an issue that recently showed up on our DHCP server. We've noticed that anything with the 3rd octect above 128 does not hand out a DHCP address properly to the device. For example a scope for 172.17.120.x leases addresses without
    issue, but when we go to a scope of 172.17.128.x the below image is what we get and the devices don't actually get an address assigned. We've restarted DHCP services, the server itself, reconciled the scope and also tried re-creating the scope with no luck
    so far. We can see the request go to the server but the server never sends anything back to the device. There is no A/V on the server nor is Windows Firewall turned on. Any insight is greatly appreciated. 

    Hi,
    Could you enable the DHCP audit logging? Is there anything unusual logged in the log or event viewer?
    To enable DHCP server logging
    Open the DHCP Microsoft Management Console (MMC) snap-in.
    In the console tree, click the DHCP server you want to configure.
    Click Ipv4.
    On the Action menu, click Properties.
    On the General tab, select
    Enable DHCP audit logging,      and then click
    OK.
    Note: DHCP audit logs are located by default at %windir%\System32\Dhcp.
    Is there any MAC filters in your DHCP server?
    Have you deployed NAP in your network? Maybe some policies prevent the client from obtaining IP address.
    Have you tried to use another client which is working properly in other scope? Maybe that’s a client problem.
    If the result of all these checks seems right. We recommend you to use the Process Monitor for further troubleshooting.
    For detailed information, please view the link below:
    More About DHCP Audit and Event Logging
    http://technet.microsoft.com/en-us/library/dd759178.aspx
    Process Monitor v3.1
    http://technet.microsoft.com/en-us/sysinternals/bb896645
    Hope this helps.
    Steven Lee
    TechNet Community Support

  • Can I script an email button to put one of the form fields in the subject line and to name the form?

    This is a fillable form on a website.  We want people to complete the form, then click on the email button to send it to us.  Prefer to have the "name" field populate in the "subject line" of the email, and also rename the form that same field name.  Is that possible?

    In the sample I used the below syntax to send an email..
    event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF"});
    The highlighted ones are local variables which will hold the value from the form fields.
    If you want to get the Subject from Name field in the form, use some thing like this.
         var strSubject = name.rawValue;
         //and then pass the value to the code.
         event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF"});
    Hope this helps..
    Thanks
    Srini

  • What is the name of the table for finding user exit !

    What is the table name to find the user exit !

    Hi,
    Goto to the table tstc and enter the transaction code for
    which u want to find out the User-Exits. Check out the
    program name from the result. Goto SE38 and dee that
    program in display mode. Then search for the string Call
    Cutomer-Funtion. All the result of search are the user
    exits defined there for that transaction.
    SAP user exits (enhancement names that we see in SMOD transaction) are all stored in the table MODSAP. The field NAME contains the enhancement name and the field MEMBER contains the name of the function module that will be called if the customer enhancement exists and is active. The customer enhancement projects are stored in the table MODACT. There, the NAME field is the name of the project and MEMBER is the name of SAP enhancement (that from the MODSAP).
    So, if you are in some include, you can use where-used-list to get to the function module name. Then you find the SAP enhancement name from the MODSAP by supplying the function module. And finally, you find the customer enhancement projects by querying the MODACT with the SAP enhancement in the field MEMBER.
    cheers,
    vasavi.
    kindly reward if helpful.

  • I update my iCloud storage today but I paid with my wife's credit card and now anytime that I sended an email appears the name of her instead of mine to all my contacts ??? how can I change and put my name in my emails ??

    hi please I need help , I paid with my wifes credit card the upgrade in my icloud storage today but now any time I send an email appears ....from: my wifes name instead of my name ....how can I change this ,thank you

    You might want to make sure your credit card is listed in the billing information associated with your Apple ID (see http://support.apple.com/kb/ht1918).
    Also, to change the From name that appears when you address emails on and iOS device, go to Settings>Mail,Contacts,Calendars...tap your iCloud email account, tap you iCloud account at the top, tap Mail at the bottom, then enter the name you want to use in the Name field at the top.
    To change the From name on your Mac Mail, go to icloud.com, sign into your account, open Mail, click the gear shaped icon on the bottom left and choose Preferences, go to the Accounts tab and enter the name you want to use in the Full Name field and click Done.  Then quit Mail on your Mac and re-open it.  Your new From name should now appear in the drop-down list when you compose a new email.

  • Changing Mail, contacts, calendars name field

    hello probable something simple but how do i permanently change the Name Field in the "Mail, contacts, calendars" setup.
    I press details to enter my own but each time i do the name field is over-written with a previous owner or user of the mac.
    Until this is complete i cannot sync contacts and calendars as i want to, using OS X Mountain LIon. 

    Go to System Preferences > iCloud
    Sign out of the current Apple ID
    Sign in with your ID.
    System Preferences > Users & Groups
    Change name for current User.
    However, I HIGHLY suggest that you create a new User and move all your data to the new User or do an erase and install.
    1) Move to a new User. See directions here:
    Move your data to a new User or a new Mavericks partition**
    2) Backup your data to an external drive using clone software. While booted from the clone erase the internal drive and reinstall OS X.
    **(Fair disclosure: NeedHelp4Mac is my site. I may receive some form of compensation, financial or otherwise, from my recommendation or link.)
    Both of these applications can be used to create a clone.
    SuperDuper! http://www.shirt-pocket.com/
    CCC http://www.bombich.com/download.html
    You will need an external drive to create the clone unless your internal drive is large enough to create a second partition large enough to hold all your data.

  • JQuery to set Title field to Name field in Document Library

    I want to use some simple JQuery to populate the Title field of a document with the contents of the Name field. I am able to populate the Title field with basic text using:
    <script type="text/javascript">
    $(function() {
    $('input[title=Title]').attr({value: 'Test'});
    </script>
    That works fine - but how can I change it to pass the contents of the Name field into the Title field?  This code runs on the EditForm.aspx for the document library.  Thanks!

    Are you editing the webpart in visual studio and designing custom webpart?

  • Recently I noticed that when I change the name of a photo (correcting a mistake) it always goes back to the previous name, keeping the mistake I'm trying to correct. A spelling mistake, for example. As I keep my photos organized by name and not by date, t

    Recently I noticed that when I change the name of a photo (correcting a mistake) it always goes back to the previous name, keeping the mistake I'm trying to correct. A spelling mistake, for example. As I keep my photos organized by name and not by date, this is very annoying.
    And today it won't even read my camera's sd card, and I try with 2 different ones. If I restart the computer, leaving the memory card in, then it reads it; but if I pull it out and push it back in it doesn't see it. Whath am I doing wrong, if anything?
    Diane

    Where/how are you trying to change the name? If it is in Finder (after you've downloaded the pics to your desktop), highlight the pic icon and press Return. the name field will change and you can type in your new name. Hit Return again. That should make it "stick".  If you're trying to do it elsewhere, please post the steps that you've tried.
    As for your card: do you eject it properly? Either drag icon to trash or hit the eject symbol in the sidebar?

Maybe you are looking for