Viewing 15 posts - 6,076 through 6,090 (of 8,731 total)
Sean Lange (7/25/2014)
Most...
July 25, 2014 at 12:42 pm
You can read on the CAST and CONVERT page on the "Truncating and Rounding Results" section.
Int, smallint and tinyint will return * when the result length is too short to...
July 25, 2014 at 12:18 pm
We didn't have much plans for summer, we expected to visit south of Mexico on September but my wife broke her calf. Now she has to keep at rest. She's...
July 25, 2014 at 10:47 am
In the meantime, I'd suggest you to change the coding style as 3-part and 4-part names in the column list are deprecated and will be removed on a future version...
July 25, 2014 at 9:59 am
I'm not sure, but you could use a lookup transformation instead of the merge join. It's hard to know without much details on what you're doing.
July 25, 2014 at 9:39 am
Alan.B (7/24/2014)
Luis Cazares (2/11/2014)
Have you tested again?
Luis - I completely flaked out and missed this message. I am truly sorry and feel like a jerk. I fixed the my code...
July 24, 2014 at 3:05 pm
Are you uing T-SQL or SSIS?
If using T-SQL, can you post your query? Are you using JOIN Hints? Why?
July 24, 2014 at 2:27 pm
A cross tabs approach using Eirikur's sample data.
WITH BASE_DATA AS
(
SELECT
ItemId
,CustomerItemId
...
July 24, 2014 at 2:20 pm
To prevent SQL Injection when the names of objects or columns are entered by the user, I'd recommend as well QUOTENAME() function. Of course, that doesn't remove the good practice...
July 24, 2014 at 12:17 pm
I wouldn't suggest those books for a total newbie. They expect a lot more experience. Additional, (s)he is seeking for the querying certification exam.
July 24, 2014 at 9:19 am
I hope that you're using that code for learning purposes only and not instead of REVERSE() function.
July 24, 2014 at 8:37 am
Data9 (7/24/2014)
1|test|1234.45|testing|test123| ...
July 24, 2014 at 8:30 am
One of the reasons that you're facing this is because SQL Server auto commits every transaction and Oracle doesn't. You need to manually commit any DML actions. If you use...
July 24, 2014 at 8:01 am
There's no need for a recursive CTE. If that query gives the correct results you can use it to update your table.
WITH CTE AS(
SELECT MTB.*,
...
July 23, 2014 at 5:44 pm
The reason of your problem is that you're dividing integers and that will return an integer when you want a float or decimal value.
Check the following examples:
SELECT 2/100 intDivision,
...
July 23, 2014 at 4:47 pm
Viewing 15 posts - 6,076 through 6,090 (of 8,731 total)