Login to reply. September 16, at pm Actually I need to export the data to excel file. Some the coulumns data have NULL values. Thank you. Hi Jeff, Thanks for your reply. I am getting empty space by using below query. Please correct me if I am wrong. Kristen Test. Cross Join. Crito Starting Member.
Home Weblogs Forums Search:. Some of the fields have null in them. Could someone tell me the syntax of a SQL update query to change all the nulls to a zero length string. I can then run it field by field where appropriate. My User enter criteria on a asp. Incorrect syntax in user-defined function. Replace word in text file. Replace Multiple Spaces with One Space? Mobile Development. Software Development. Remote Development and Debugging Tools. How to use Nuget assembly as files with visual studio community.
Opening Balance. Ms access. Undesired Name? Append Query trying not to add duplicate records to new table. Follow us! I tried the below logic, which even replaces the integer value like 30 to 3 and to 3 and results in equal which is incorrect. I need only decimal value to be replaced not integer. I am looking for a single string replace logic. I want to create a report that will return names and emails using two of my tables. I want to use the email in my primary table in the select but if it is null or empty I want to replace it with an email from my secondary table.
Any ideas? Thanks Richard. Hello All. Hopefully someone out there will have an idea as this isdriving me nuts. Ihave some sample problem. I want to use function replace on Derived Column. For example. I'm importing a csv-file delimited with semicolons. All the numbers in right columns in the target table. Then I add another Derived Colum Transformation to replace decimal character comma , to a dot. But here I run into trouble. Running the task ends in success but the result in the target table same as above is not.
All the commas are now dots as expected but what is worse is that SSIS have added values in cells that should not be there. I get values in cells that shoud be empty! BR Jompe. I need to check in my Stored procedure if the information passed is null or empty so I can decided to insert the new value or keep the old.
Thanks in advance. Hi: Trying to insert null value into sql table, but not working, if I use: if strMyText. Add " Text", DBNull. Thanks a lot. Hi all, I have some columns in my database which allows null. I want to know if leaving the field to be NULL or storing an empty string into the field, which will take up more space??
0コメント