Click here to Skip to main content
15,888,102 members

Comments by HardikPatel.SE (Top 58 by date)

HardikPatel.SE 8-Aug-17 6:42am View    
Also you can use "ex.GetBaseException()" which will return you the root exception message.
HardikPatel.SE 8-Aug-17 6:41am View    
Also you can use "ex.GetBaseException()" which will return you the root exception message.
HardikPatel.SE 27-Jul-17 10:43am View    
Use Switch case in place of if...else.
HardikPatel.SE 27-Jul-17 10:41am View    
Switch case is faster than if Condition.
HardikPatel.SE 2-Feb-16 8:41am View    
Like given in following solution and create Where conditions as per your conditions and append that query and then pass it to SQL Stored procedure and write exec('DynamicQuery').