Questions tagged [guid]

A GUID (Globally Unique IDentifier) is a unique reference number used as an identifier in computer software.

A GUID (Globally Unique IDentifier) is a unique reference number used as an identifier in computer software. It is Microsoft's implementation of the UUID standard.

2008 questions
0
votes
0 answers

Symfony4: UniqueEntity constraint does not work on GUID field (related entity)

upd: Please pay attention: uniqie validation worked perectly UNTIL I changed related PK User::$id type from integer to guid. I have an entity UserWatchlist, which relates to User (many-to-one). It has complex unique constraint on 2 fields user and…
Alexander
  • 287
  • 4
  • 13
0
votes
1 answer

converting base64 to GUIDs/UUIDs in bigquery

I've been trying to find a way to decode a base64 column in a bigquery table to a GUID/UUID. Does anyone know of a function in SQL that I can do this with or would I have to use a different language than SQL.
unknown
  • 853
  • 1
  • 10
  • 23
0
votes
2 answers

How to generate a guid to change userid that when inserting files it will not duplicate?

How do i change userid using Guid every time when the user want to insert files to database to prevent the violation of primary key (duplication of primary key), userid is the primary key? public System.Guid userid { get; set; } Its producing this…
Anesu
  • 9
  • 1
  • 6
0
votes
1 answer

Determine if an element in a list contains the same value

I have a List containing a number of Guid's. List recordIds = new List; I need to verify if the Guid's in this list are all identical. So instead of iterating the whole list I was thinking about using some sort of: var IdsAreIdentical =…
Martin Felber
  • 121
  • 17
0
votes
1 answer

How to convert random text into an integer

I have different rectangle objects that each have an unique ID generated via a Guid. Example ID: "fdd4551f-0087-48ee-b764-3713b5107ac9" I want to convert that string into an integer from 0 to 256 so I can assign a random color to each object…
Luka Lovre
  • 13
  • 1
  • 2
0
votes
1 answer

Serializing to guid types in angular

Using the guid-typescript package, I wanted to use Guid types in my response model to be more descriptive. import {Guid} from 'guid-typescript'; export class Product { id: Guid; name: string; } ... this.http.get(...); In…
Devon Bessemer
  • 34,461
  • 9
  • 69
  • 95
0
votes
0 answers

How Do I get GUID from a DLL generated on VisualBasic 6 using Powershell?

I got a DLL compiled on VB6, I need to automatize some steps to make developers life easier, one of them is to get DLL's GUID right after is compiled, but I got no clue how to do it. I appreciate your time, thank you in advance.
0
votes
2 answers

How to generate Universally Unique IDentifier, UUID from LoadRunner independent of the OS

I have experienced the need of generating UUID in LoadRunner several times while scripting but there is no in-build function to do so. I am using both linux and windows load generators. Thanks to Scott Moore for writing the below code…
Barun
  • 23
  • 2
  • 7
0
votes
0 answers

My winform application should recognize USB and Bluetooth connected to my machine with same events

Basically my application should recognize USB and Bluetooth devices at same time. I am facing issue in below code to use USB and Bluetooth GUID at same time in static class. This static class require GUID to enable event to recognize USB and…
rosh_021
  • 23
  • 1
  • 9
0
votes
0 answers

Can I pass a session value to variable and then save it to another guid type variable

Profile p = new Profile(); var user = Session["UserId"]; p.UserId = user ; After compiling this code I am getting the error: can not implicitly convert object type to system.guid
0
votes
1 answer

How to remove "%2F" characters in the end of a URL in a form submit

When submitting a form which gives two GUID values as query string I get 2%F at the end, making the last GUID an invalid
@{ …
0
votes
1 answer

Database design dilemma. Guids or ints?

I currently have the following tables Nation ---------------- Id (int) primary key autoincrement Name (char) City ---------------- Id (int) primary key autoincrement NationId (int) references Nation(Id) Name (char) Nation table…
Eminem
  • 7,206
  • 15
  • 53
  • 95
0
votes
2 answers

String to a GUID via inline C# within ASP.NET

Is it possible to use convert a string to a GUID via inline C# within ASP.NET? In this example I would like to pass in a string for CustomerId and have it formatted as a GUID as the stored procedure expects a Unique Identifier.
webworm
  • 10,587
  • 33
  • 120
  • 217
0
votes
1 answer

How can I retrieve the is_sfparam-content while printing RECN contracts?

How can i retrieve the is_sfparam-content, either using query or function module. then will be passed as a parameter to cl_recp_data_cn_general=>get_contract. do you have any idea? Where can I get that is_sfparam-content? Thanks CALL METHOD…
Dumbest666
  • 47
  • 3
  • 13
0
votes
0 answers

GUID like identifier which contains non hexadecimal letters

I've developped a business system which is connected to an external Typeform via a webhook. Until recently, every webhook request sent by the API was authentified with a token string, which I could parse to a GUID. This was really helpful for…
XavierAM
  • 1,627
  • 1
  • 14
  • 30