Microsoft
Software
Hardware
Network
Question : SQL Query
Hei guys,
i have an sql query
SELECT IDENT_CURRENT('Products') + IDENT_INCR('Products');
i want to get the next increment on a table but it returns 2 if they is no values entered,
it does work fine if they is information enter in the table, but does not return 1 if the table is empty,
how can i return 1 if the next increment is 1?
Answer : SQL Query
HERE YOU GO...
SELECT ISNULL(IDENT_CURRENT('Prod
ucts') ,0) +1
Random Solutions
SSRS Combine two datasets into one data region - Must be in report not in SQL server
Java web service accesing error
asp.net mssql I have a need to update records where the record column needs modifing in orde to match the Id value
how can i find all ILO boards on a network
Control object destruction during global destruction
Setting Reporting Services data driven subscription Using Web Service
accessing a web service
AP running G and N
RegExp VBA for HTML tags - Needs assistance and explanations
How to get a Dell D800 to load Bios fully?