Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SQL files are getting converted to binary files and not readable

Chandra Sekhar Lattala
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 2, 2022

Hi All,

This is to let you know that we are facing challenges to check in the SQL files. Once we check in the .sql files from local repository to remote repository. The files are getting converted to binary files in Bit Bucket and are not in a readable format.

Because of this, we are not able to compare the differences.

Please check and advise. Any help would really appreciated.

Thanks,

Chandra.

2 answers

0 votes
Ankit Patel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 24, 2024


@Theodora Boudale 
From Today 24-09-2024 we cannot compare SQl files in VS Code.

 

Regards
Ankit

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 24, 2024

Hi Ankit,

VS Code is built by Microsoft, it is not an Atlassian product. If you experience issues with VS Code, please reach out to the support team for that product:

Kind regards,
Theodora

Ankit Patel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 24, 2024

@Theodora Boudale 
 I am not talking about Vs code is also not visible in bitbucket in Atlassian view.its showing code in binary format.

 

Screenshot 2024-01-24 130846.png

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 23, 2022

Hi Chandra and welcome to the community.

Do you know what encoding was used for these .sql files?

There is a bug with Bitbucket Cloud, UTF-16 and UTF-32 files do not show up in the diff:

If that's the case with your .sql files as well, then the diff is not rendering due to this bug.

Please feel free to let me know if you're using a different encoding for these files.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events