Hassle-free live chat software re-imagined for business growth. 2 users, always free.
this gives me an error
IF @ID =1 BEGIN select field1 INTO #tmpCurrent FROM TABLE1 END ELSE IF @ID = 2 BEGIN select field1, field2 INTO #tmpCurrent FROM TABLE2 END
|How to query date ranges with SQL||6||23|
|Partially Contained Databases - Cross Database Queries||3||21|
|t-sql splitting string column||5||24|
|SQL: export into csv/sqlcmd method and field config||3||15|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
18 Experts available now in Live!