I have a sql statement that joins to 2 tables and brings back an ID row. I changed the design and the new IDs are integers. The old IDs are GUIDs.
How can I know if the ID is GUID and not an integer? based on that, i want to use an if-else statement.