Questions tagged [uniqueidentifier]
With reference to a given (possibly implicit) set of objects, a unique identifier is any identifier which is guaranteed to be unique among all identifiers used for those objects and for a specific purpose.
1,580
questions
0
votes
0
answers
11
views
Mongoose - problem with setting unique id
Creating schema in mongoose with unique field stopped working.
When creating new item, I'm getting error:
E11000 duplicate key error collection: xxx index: progressId_1 dup key: { progressId: "...
0
votes
0
answers
8
views
Generate Unique User Identification Number in WordPress
My website is a WordPress website.
My Business Logic involves Referral--- where I expect people to refer other people to buy from me, then I offer 15% of the deal to the person who referred the client ...
0
votes
0
answers
8
views
What is the manufacture date if a tag inside the luggage says 2100665?
I am trying to solve the issue of when a piece of luggage was manufactured. On an inside tag behind the label, there are two identifying numbers: P/N BBG08301.001 and O/N P.O. 2100665
Is it possible ...
0
votes
1
answer
29
views
Vlookup tables to convert unique cell ID to multiple ingredients
I'm wondering if somebody could help me with a problem I'm having with Excel.
I have imported a csv file with some business orders, and each row is a different order.
Within these orders, there is a ...
0
votes
0
answers
49
views
How to generate unique worker ID (Node ID) for Snowflake Algorithm in multiple server instance environment [closed]
I am developing a Web API Server using.NET Core version 6. I want to generate unique IDs for users using SnowFlake Algorithm. I want to deploy the Server to the Azure Web App service. There may be ...
0
votes
0
answers
14
views
Android app becomes unique only after getting deployed on production release
Scenario: I have android build which is not ready for production release on play store but I want to reserve it's unique identifier (like com.mysuperwork.myapp). So if I release my app on internal ...
2
votes
2
answers
88
views
Unique, incremental ID generation constrained within an entity
We're building a ticketing system for our customers (enterprise clients) and we're trying to come up with a way to have a sequential, unique ticket ID generation system that is also user-friendly.
...
0
votes
1
answer
72
views
Reasonably unique string for a given machine
I am creating a C program. I mainly care about unix/linux systems but including windows here would be ideal. I want to find an approximately unique identifier for a networked machine. I am wondering ...
1
vote
1
answer
44
views
how to retrieve unique identifiers from android 11 r (API 30) device? [duplicate]
I want to get unique identifiers like Android Device ID, IMEI, or MAC address from an Android phone with Android version 11 using Java.
Can someone help? I need just either one unique identifier.
This ...
1
vote
0
answers
30
views
Xamarin.Android - What is the simplest solution to uniquely identify an Android 10.0 device (API 29)?
One of our customers is updating his Android devices to version 10.0 (API 29).
The app that our customer uses is manually installed via APK on each device. Each device is NOT associated with any ...
0
votes
0
answers
27
views
Calculate unique ID with time range and repeating identifier
I collect two datastreams at different sampling rates. They each include a unix timestamp in milliseconds and a product ID. Example:
Data Stream 1 (1ms sampling rate):
Sample N.
Product ID
timestamp
...
0
votes
0
answers
34
views
How to use redis cache to generate unique id with custom java input
How to use redis cache to generate unique id with custom java input
We need sequential id generation having one custom input from our java service
0
votes
1
answer
21
views
Flutter: ReorderableListViewChildGlobalKey used by Multiple widgets error
Error I get is: The key [_ReorderableListViewChildGlobalKey ValueKey#46dc3] was used by multiple widgets
Each item in my list is already uniquely identified in my dismissable widget.
Widget ...
-1
votes
1
answer
98
views
Generate uniqueidentifier from different values
I have this output:
valueRulesContact
valueRuleEmail
3538763040maire
mcmkillarney
00353876813040maire
mcmkillarney
19702229029lori
loripivonkacomlori
00353876813040maire
mmurph630763
...
0
votes
0
answers
49
views
Microsoft Graph API for Email: Email ID is not unique
I'm find that that the "id" column for Email from the Graph API does not seem to be unique i.e. once saved to a SQL Server DB
This appears to be due to collation issues; I tried applying ...
4
votes
4
answers
83
views
Create Unique ID based on a column and calculate the mean based on the generated ID in R
I am trying to generate unique ID for each event/episode and then wanted to calculate the mean of a column based on the generated ID.
Here is an example:
Event
Val
A
3
A
5
A
1
B
8
B
2
C
1
C
3
...
-1
votes
2
answers
130
views
How do I generate unique usernames for users when they create an account? [closed]
I am using Python to interact with a MySQL database. I have a function that allows a user to create an account. The parameters of this function are their full name, email, and password. These ...
0
votes
1
answer
78
views
Use a uniqueidentifier column for hash partitioning
I have 2 fact tables: fact patient and fact production
Both use several columns with uniqueidentifier, I would like to know if it is a good practice and recommended to use this type of column as hash ...
1
vote
2
answers
215
views
optimal way to create a 12 digit unique random number for users
Issue
I am trying to add a 12 digit long (numeric values only!), unique identifier to a user table that will be given to the users to find each other.
Since it will be handed to the users it needs to ...
0
votes
0
answers
29
views
Adding unique ID to calculate duration of the status per status and ID but with multiple duplicate statuses occurring during the day
I have a table with multiple IDs and multiple statuses with timestamps. I need to calculate the duration of the status per status and ID so then I can select max duration of the status.
I have created ...
2
votes
2
answers
55
views
creating new columns for unique events and then counting events in R by group
A subset of my data looks like this but with many more groupings (IDs):
ID time class
<chr> <dttm> <...
0
votes
1
answer
37
views
Generating unique ids for each implementor of a protocol
I have the following I want to achieve in Swift:
I have a protocol
protocol IdProtocol {
static var id: Int { get }
}
Now I want each implementor of this potocol to have a different value for id.
...
0
votes
0
answers
26
views
How does hotstar uniquely identify a guest user?
Hotstar has a feature of displaying the premium content for free for 5 minutes to a guest user. I am curious to know how does Hotstar implement this functionality.
It doesn't matter how many browsers(...
0
votes
0
answers
27
views
How can i create a special session id for each user that enter my site and store an array
I have a php project and what I need is to define a unique session id for each user entering the site and store an array in it, and then print the array to the screen. For example, in a 24-hour ...
0
votes
0
answers
36
views
RFID Unique serial number conversion to custom text
My USB-RFID reader receives a 10 bit ID from the card. I want to assign a unique name and surname to each 10-bit number.
My goal is to have the name appear on the screen when the person using the card ...
1
vote
0
answers
39
views
How best to maintain incremental counter value when app is reopened
I have a struct that requires a unique id for each new instance. I am not using UUID as I need it to be sequential 1, 2, 3 ...
I am currently doing this using:
private static var idSequence = sequence(...
2
votes
1
answer
56
views
How can we uniquely identify a each record in Vertica database in absence of a primary key?
There are some tables in which the primary key, unique key, or composite key is not specified.
How can we uniquely identify each record in Vertica?
2
votes
1
answer
92
views
Check if all rows are equal by group ID and return boolean value
I have a data frame where a unique ID is given to each unique instance where there is a string in either title.1 or title.2. Each ID is coded with one or more names. See below:
title.1
title.2
name
...
0
votes
0
answers
151
views
Column does not allow null error when trying to insert a UNIQUEIDENTIFIER
I want to insert guid values into an existing column called rowguid in an existing table.
I've created the column with this statement:
ALTER TABLE [myschema].[mytablename]
ADD rowguid ...
0
votes
1
answer
49
views
How to create a unique ID on each function call to a drop down list Asp.net
I am trying to dynamically add a new product each time an option from a drop down menu is chosen. However I believe my id field is preventing me from creating new data on my added rows. I can only ...
0
votes
0
answers
206
views
How to identify a user login from a new device
I am working on a functionality to send an email to user whenever a they log in to my website with a new device. For example if a user logged in to their account from iOS app, notify them that a new ...
0
votes
0
answers
19
views
A unique Identifier for All Apps in device to identify a SSO session
I am working on a problem statement, where we are trying to create SSO system. For that SSO system, in order to create a SSO session for a user, we need to have a unqiue identifier which is same for ...
0
votes
1
answer
54
views
ANDROID_ID after factory reset
According to the google documents about ANDROID_ID, its value is unique until factory reset has done. I have a question about new generated ANDROID_ID after factory reset .
Is this value unique as old ...
0
votes
1
answer
128
views
Change the document's unique ID from string to int in firebase realtime using xamarin form
My problem is I want to change the document/table unique ID from string to int in firebase realtime database.
This is how it looks in my database:
.
I want to look like this:
.
This is my code in ...
1
vote
1
answer
47
views
Generate unpredictable/unforgeable URL from predictable ID
I have a simple API that return Something for a given ID and it must be used without any kind of authentication, the URL should be permanent and yet I want to avoid as much as possible it to be botted....
1
vote
0
answers
37
views
Can not add uniqueidentifier type column in columnstore non-clustered index
Im trying to create non-clustered COLUMNSTORE index on my fact table including some key columns.... but when selecting columns of table to add in index i don't see all of the columns which are ...
1
vote
0
answers
76
views
What are the new unique-id's for CUDA streams and contexts useful for?
CUDA 12 introduces two new API calls, cuStreamGetId() and cuCtxGetId() which return "unique ID"s associated with a stream or a context respectively. I'm struggling to understand why this is ...
1
vote
0
answers
88
views
How to define a key to GET human readable ids in REDIS?
My goal is to save unique human readable ids in REDIS.
My problem is how to set the key to access the value(The value is the generated ID).
If I use an integer, for example, how do I know what is the ...
0
votes
0
answers
615
views
Sharepoint List - Generate Unique # identifier in Column A based on Column B. Same # if duplicate
I am working on creating a tracker, my client has requested the data be on sharepoint list for ease of viewing.
In order to organize the tracker on the Sharepoint List, I would like to generate an ...
0
votes
0
answers
52
views
Providing a unique ID when writing a Linux kernel driver
I've written an I2C driver. The chip can provide a unique ID.
Is there a generic way of providing chip UIDs to userspace?
Or should I just create /sys/mydriver/uid and call it a day?
0
votes
2
answers
29
views
how can I add unique key prop in each child in a list on react?
I keep getting this error
I am trying to solve this warning.
0
votes
1
answer
142
views
Google Bigquery Memory error when using ROW_NUMBER() on large table - ways to replace long hash by short unique identifier
For a query in google BigQuery I want to replace a long hash by a shorter numeric unique identifier to save some memory afterwards, so I do:
SELECT
my_hash
, ROW_NUMBER() OVER (ORDER BY null) ...
0
votes
3
answers
777
views
Create a unique ID based on the value in a row for MySQL [closed]
I am in the process of creating a web application for a genealogy project. I want each person I add onto the database to have a unique id, based on the first 3 characters of their surname (let's call ...
0
votes
2
answers
40
views
Create date between consecutive dates
I hope you can assist.
I have a SAS data set which has two columns, ID and Date which looks like this:
In some instances, the date column skips a month. I need a code which will create the missing ...
0
votes
1
answer
34
views
HERE Navstreets LINK_ID Range
My organization has acquired the HERE Navstreets data set. It wishes to update the content while still adhering to the HERE Navstreets data model and relationships.
In this context, it is deemed of ...
0
votes
1
answer
94
views
Setting Entity ID in Domain Driven Design
Regarding the creation of Entity object instance, identified by a unique ID as opposed to a value object, would it be correct to define the unique ID in the Application layer of the architecture.
...
0
votes
2
answers
65
views
glGenBuffers() object names in different OpenGL contexts
Let's say there is a GUI program with two windows. Each window has its own OpenGL context. There is only one thread.
At some point we want to render stuff in the first and in the second window, so we ...
0
votes
1
answer
35
views
Identifying unique users in server-side tracking
I'm now learning about server-side tracking (as opposed to client-side), and I can't understand how the identifying of a unique user is done, when we use server-side method?
What I find on the ...
0
votes
1
answer
215
views
Attempting to join: error "Conversion failed when converting from a character string to uniqueidentifier."
I am getting the following error when attempting to join on two ID fields:
select top 10 *
from SOURCECODE as s
inner join APPEAL as a on s.APPEALID = a.APPEALID;
error: Conversion failed when ...
0
votes
0
answers
32
views
How do we create registration page with Unique ID using react js
I want to create a registration page which will send a email to the user with a unique ID and asking for password reset. We are planning to work with react js
This is my first time working with ...