Hi @SoonJoo@Genting ,
Thank you for posting query in Microsoft Q&A Platform.
HASH() function will expect to pass any column name from your table or temp table. Since you are not passing your temp table column name(any) in to HASH() function, we are ending up with failure.
Please check below screenshot where I am able to create temp table in Dedicated SQL Pool without any errors when I pass column name in to HASH() function.
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators