April 10, 2025 at 8:57 pm
I am working with a script to exclude certain data types, and I was wondering if there is a comprehensive listing of the system.<datatype> for each of the mssql data types?
For example, my code includes data types to exclude. Here, in part:
Exclude-ColumnsByType -ExcludeType System.String, System.DateTime |
In particular, how would I specify a data types Identity with Auto Increment? (Identity Increment=1 and Identity Seed=1)
When I include system.identity, I don't get the result desired.
Thanks!
April 11, 2025 at 8:22 am
I am working with a script to exclude certain data types, and I was wondering if there is a comprehensive listing of the system.<datatype> for each of the mssql data types?
For example, my code includes data types to exclude. Here, in part:
Exclude-ColumnsByType -ExcludeType System.String, System.DateTime |In particular, how would I specify a data types Identity with Auto Increment? (Identity Increment=1 and Identity Seed=1)
When I include system.identity, I don't get the result desired.
Thanks!
Identity is a property, not a datatype. The datatypes having the identity property are usually INT and BIGINT.
April 11, 2025 at 5:15 pm
cajun_sql wrote:I am working with a script to exclude certain data types, and I was wondering if there is a comprehensive listing of the system.<datatype> for each of the mssql data types?
For example, my code includes data types to exclude. Here, in part:
Exclude-ColumnsByType -ExcludeType System.String, System.DateTime |In particular, how would I specify a data types Identity with Auto Increment? (Identity Increment=1 and Identity Seed=1)
When I include system.identity, I don't get the result desired.
Thanks!
Identity is a property, not a datatype. The datatypes having the identity property are usually INT and BIGINT.
Thanks very much.
Is there a way to specify the property, along with the datatype, in the powershell code?
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy