Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV Export Saves "null" Instead of Blank Values #18528

Open
danworldinc opened this issue Dec 19, 2024 · 0 comments
Open

CSV Export Saves "null" Instead of Blank Values #18528

danworldinc opened this issue Dec 19, 2024 · 0 comments
Assignees

Comments

@danworldinc
Copy link

When running a query and saving the results as a CSV file, if any of the results contain a null value, the actual word "null" appears in the CSV file instead of a blank value. This behavior is unexpected and inconsistent with saving results as an Excel file, where null values appear as blank cells.

Steps to Reproduce:

  1. Run a query in the VS Code MS SQL extension.
  2. Save the query results as a CSV file.
  3. Open the CSV file and observe that null values are saved as the word "null".

Expected Behavior:
The null values should be saved as blank cells in the CSV file, similar to how they appear in Excel.

Potential Solution:

  • Implement a setting to choose whether null values are saved as blank values or with the actual word "NULL" in the CSV export.

Additional Context:

  • This issue does not occur when saving the results as an Excel file, where null values appear as blank cells as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants