Viewing 15 posts - 496 through 510 (of 515 total)
Short and simple answer:
If your flat file is fixed width (delimited) use CHAR data type else use VARCHAR
July 19, 2012 at 11:21 am
Further to add on; scalar functions are always deterministic.
- Lokesh
July 19, 2012 at 11:17 am
Why to extend names of foreign keys. We can keep domain for both the tables same. Like this:
Department
=========
Dept_ID (PK)
DName
Employee
=======
ID (PK)
Name
Dept_ID (FK)
Here Dept_ID in Employee table is a foreign key to...
July 19, 2012 at 11:15 am
Function Categorization:
1) System Functions
2) User Defined Functions
2.1) Scalar Functions
2.1) In-Line table valued Functions
2.1) Multi-statement table...
July 19, 2012 at 11:04 am
Thanks for the update. I was also thinking in the same fashion.
- Lokesh
July 19, 2012 at 9:55 am
Another link for you with good examples:
July 18, 2012 at 12:39 pm
Not sure why are you using all this for range --> use substring instead
Check this link:
July 18, 2012 at 12:37 pm
Kindly post some logs. How are you so sure that the value is truncated?
Will check the logs and let you know.
- Lokesh
July 18, 2012 at 12:32 pm
I do agree with Lynn on performance perspective.
- Lokesh
July 18, 2012 at 12:28 pm
cool...Thanks Jason.
Much appreciated!
- Lokesh
July 18, 2012 at 12:16 pm
use @@rowcount after your insert statement to check if there is any data inserted
Refer this link:
July 18, 2012 at 12:09 pm
Jason: I always wonder when I use CTE to delete duplicate rows.
CTE being ANSI compliant, why does it let us delete data from CTE? I am sure ANSI norms does...
July 18, 2012 at 12:03 pm
better way optimize for modulo 10 would be to use RIGHT function.
RIGHT(value,1) -- check if this helps
July 18, 2012 at 11:58 am
Viewing 15 posts - 496 through 510 (of 515 total)