Viewing 15 posts - 4,576 through 4,590 (of 6,036 total)
Why don't you just try it?
It would probably take less time than writing the post.
![]()
Of course you can do it.
Just don't use cursors inside...
_____________
Code for TallyGenerator
January 18, 2007 at 3:25 pm
WHERE (age = @age OR @age IS NULL)
_____________
Code for TallyGenerator
January 17, 2007 at 2:09 pm
When you test the script declare variables to relace SP parameters.
Don't replace it with hardcoded values within query..
_____________
Code for TallyGenerator
January 17, 2007 at 6:29 am
If you have such task then you store same entity in different tables.
Read about normalization rules, think about what do they mean and why people created it, and fix DB...
_____________
Code for TallyGenerator
January 16, 2007 at 2:15 pm
I can guarantee one day they will ask you to store bar code for each item.
Do you plan to leave before that day?
And lets do a little bit of...
_____________
Code for TallyGenerator
January 16, 2007 at 3:59 am
Read "CAST and CONVERT" in BOL.
_____________
Code for TallyGenerator
January 15, 2007 at 1:15 pm
Must be something like this:
select o.*
from z_inquiry o
INNER JOIN (
select max(inquirydatetime) as maxinq_dt, frontend_id
from z_inquiry
group by frontend_id...
_____________
Code for TallyGenerator
January 15, 2007 at 5:42 am
People talking not about acounts conecting to SQL Server, but about the account started SQL Server
_____________
Code for TallyGenerator
January 10, 2007 at 5:13 am
I understand, they don't want newbie to affect their production system.
So, instead of letting him to create SP which could be checked by a professional, tested properly and provide required...
_____________
Code for TallyGenerator
January 9, 2007 at 6:21 pm
> I am going to stick with the "lazy way."
"lazy way" is slightly modified my query. Just another GROUP BY added.
No value added, this just slows query down and...
_____________
Code for TallyGenerator
January 9, 2007 at 4:19 pm
I don't see any use of LEFT or SUBSTRING function in this example.
So, it's not relevant.
_____________
Code for TallyGenerator
January 9, 2007 at 4:06 pm
Don't think it will work because of GROUPING keyword.
_____________
Code for TallyGenerator
January 9, 2007 at 3:43 pm
You welcome.
Next time try to read "Cast and Convert" topic in BOL by yourself. ![]()
_____________
Code for TallyGenerator
January 9, 2007 at 2:11 pm
REPLACE(CONVERT(varchar(10), @Datetime, 1), '/', '') +
REPLACE(CONVERT(varchar(10), @Datetime, 8), ':', '')
_____________
Code for TallyGenerator
January 9, 2007 at 1:49 pm
I wanna see a requirement to monitor car engine temperature without putting a sensor in it.
Why IT projects are ruled by such idiots?
_____________
Code for TallyGenerator
January 9, 2007 at 1:36 pm
Viewing 15 posts - 4,576 through 4,590 (of 6,036 total)