Viewing 15 posts - 3,226 through 3,240 (of 13,874 total)
Great start. Based on the sample data, what would your desired results look like?
October 24, 2019 at 2:53 pm
Duplicate post, answers here, please: https://www.sqlservercentral.com/forums/topic/xabse-convert-varchar-to-numeric
October 24, 2019 at 2:48 pm
You're in a SQL Server forum, not XBase. There may be people here who can help you, but you may be better off finding a forum dedicated to XBase.
October 24, 2019 at 1:33 pm
'16:00' is not a valid numeric value, so you cannot do this. What are you trying to do?
October 24, 2019 at 1:21 pm
Are you going to provide DDL & sample data for this?
October 23, 2019 at 9:48 pm
Thanks, Phil. I really appreciate your feedback on these types of things.
As a bit of a side bar, how do you like that new Azure ETL tool? Does it...
October 23, 2019 at 4:14 pm
Hi Jeff, I'm still fairly new to Azure (six months and counting ... slowly!) and have been spending a lot of time on the DevOps side rather than doing 'proper'...
October 23, 2019 at 1:46 pm
Azure Blob Source does not supports multiple-character delimiter.
Nit-picking a little, but the delimiter is only a single comma. The double quotes are text qualifiers.
October 23, 2019 at 1:02 am
Thanks and I've tried that and it works for varchar datatype but not for datetime datatype. REPLACE(COLUMN_NAME, "\"", "")
As it's coming out of a text file, it has no...
October 22, 2019 at 10:10 pm
try
{
OneLineOfCode;
try
{
AnotherLineOfCode;
try
{
ThirdLineOfCode;
}
catch(Exception ex) {}
}
catch(Exception ex) {}
}
catch(Exception ex) {}
This code was "generated by a tool" 🙂
October 22, 2019 at 9:29 pm
If you can live with the quotes on the column names, it would be easy enough to use derived columns to remove the quotes from the data itself.
October 22, 2019 at 9:07 pm
Instead of
SELECT cols
...
Try
SELECT DISTINCT cols
...
Does that help?
October 22, 2019 at 7:03 pm
Use @@SERVERNAME?
October 22, 2019 at 3:41 pm
Thanks, Phil: EXCEPT and INTERSECT look like the way to go. I recall reading about them but had never actually used them.
Here is the general pattern for a MERGE...
October 22, 2019 at 2:24 pm
Viewing 15 posts - 3,226 through 3,240 (of 13,874 total)