Viewing 15 posts - 301 through 315 (of 366 total)
I can not recreate your problem. The binary code for ABC is different from the binary code for ABCD.
HTH Mike
IF OBJECT_ID('TEMPDB..#TEST') > 0
DROP TABLE #TEST
CREATE TABLE #TEST
(
PK_Test int IDENTITY (1,1)...
May 17, 2005 at 5:16 am
Oracle’s RTRIM is propriety and does not match the RTRIM used in T-SQL. If your data is being stored in Unicode then all characters are...
May 16, 2005 at 8:42 pm
Add a group by to Bersileus's statement.
SELECT A.MANAGERID, A.EMPID, A.EMPNAME AS MANAGER,
B.EMPNAME AS STAFF_NAME, B.EMPID AS STAFF_ID FROM @EMP A INNER JOIN @EMP B ON A.EMPID = B.MANAGERID
GROUP BY...
May 16, 2005 at 5:20 pm
Try using sp_helpIndex.
HTH Mike
use Northwind
EXEC sp_helpindex 'employees'
/*
Returns
LastName nonclustered located on PRIMARY LastName
PK_Employees clustered, unique, primary key located on PRIMARY EmployeeID
PostalCode nonclustered located on PRIMARY PostalCode
*/
May 16, 2005 at 4:57 pm
Rob, Kenneth many thanks to both of you for your input.
Kenneth "SQL is very non-prejudice and will give you an answer to exactly what you have asked, not what you...
May 16, 2005 at 3:31 pm
Crystal are you sure that every column is the same? If you have a primary key then this is not possible as a primary key must be unique. If you...
May 15, 2005 at 1:52 pm
Rob you are right and just when I was feeling so good about having one of the experts agree with me. While you are off playing in the sunshine I...
May 15, 2005 at 1:37 pm
This article from http://www.sql-server-performance.com/transact_sql.asp states that SQL evaluates AND operators from left to right as they were written. Hey it came off the internet it must be true. Do...
May 15, 2005 at 5:59 am
You are right about SQL returning False when both conditions are False. Where can I find information on the optimizer changing the order of logical statements.
Mike
May 15, 2005 at 5:44 am
Please post your tables and an their relationship.
Thanks
Mike
May 15, 2005 at 2:28 am
Rob
Since SQL reads logical statements from left to right and stops the reading when it hits the first not true condition preventing a divide...
May 14, 2005 at 7:25 am
Rob forgot the NOT XOR logic sorry. NOT XOR returns true when one and only one of the conditions is false.
NOT true XOR true returns...
May 14, 2005 at 5:49 am
Rob "XOR" returns true if one and only one of the two conditions is true. "NOT XOR" returns true if one and only on of the conditions is false. When using XOR both statements...
May 14, 2005 at 5:08 am
When you say "a long time", how long is that, exactly
Dave I have been asking myself that question since Windows 3.x when MS started using the Message "IF your system stops...
May 14, 2005 at 4:19 am
Your code uses the getdate() funciton 6 times. You could DECLARE a token for the current date and time at the start of the function and then replace the 6...
May 14, 2005 at 4:00 am
Viewing 15 posts - 301 through 315 (of 366 total)