How can we help you today? How can we help you today?
JimF
Ali wrote: Hi Jim Glad to hear you're using the export feature already. You're right, the SQL datetimes are getting exported into Excel as strings. It is possible to format these cells in bulk without having to click inside each one: 1. In Excel, set that column's data type to "Date" (highlight, right click > Format Cells... > select Date in the Category list). 2. With these cells still highlighted, go to DATA (in the ribbon) > Text to Columns > Finish. Configuring your preferred date time format and then exporting to Excel as that data type is a reasonably large piece of work. If you'd like to see this functionality in SQL Prompt then please submit a UserVoice request here. This will help us gauge interest and prioritise the work. Thanks Ali Thanks for the reply and info on how to convert the data back to a date. Sure, I understand that configuring a date time format to my preference will be a bit of work and I will look at posting something at UserVoice on that. But, what about at least formatting the field as "yyyy-mm-dd hh:mm:ss.000" statically (in your code) instead of as text so that it is at least a date time field in Excel and easier for users to change the formatting instead of doing a Text to Columns routine first. Thanks, Jim / comments
Ali wrote: Hi Jim Glad to hear you're using the export feature already. You're right, the SQL datetimes are getting exported into Excel as strings. It is possible to format these cells in bulk w...
0 votes
I would prefer the column list. While optional, I think it will be needed more than not. Thanks, Jim / comments
I would prefer the column list. While optional, I think it will be needed more than not. Thanks, Jim
0 votes
Thanks Aaron, I guess I should have phrased my OP a bit differently and just left off the part about the incorrect schema as in this case the names Inserted and Deleted need to be kept. I hope I wasn't being too confusing there. Jim / comments
Thanks Aaron, I guess I should have phrased my OP a bit differently and just left off the part about the incorrect schema as in this case the names Inserted and Deleted need to be kept. I hope I wa...
0 votes
Hi Aaron, Any chance the indent that I mentioned for Iif will be made consistent in 6.4.x though? (Not left justified) Thanks, Jim / comments
Hi Aaron, Any chance the indent that I mentioned for Iif will be made consistent in 6.4.x though? (Not left justified) Thanks, Jim
0 votes