Viewing 15 posts - 466 through 480 (of 1,253 total)
Derek Dongray (11/4/2008)
Grant Fritchey (11/4/2008)
I'm well and thoroughly confused by what business problem we're hoping to solve here. Or are we just engaged on an entertaining, though useless, mind excercise?
Not...
"Keep Trying"
December 24, 2008 at 1:59 am
Hi
Iam afraid you will have to write your own storedproc/ trigger. I cant do that for you. If you know oracle then doing it in SQL should not be a...
"Keep Trying"
December 23, 2008 at 11:16 pm
You can use a CTE to find out the parentusers. Ex: Userid 9 -> UserID 7 -> UserID 1 and so on. You can then assign points to these...
"Keep Trying"
December 23, 2008 at 10:43 pm
Hi
I feel you need only one User table. Columns - UserID,Name,ParentUserID.
Whats the logic behind Right & Left. Wont knowing the parent of the user suffice?
"Keep Trying"
December 23, 2008 at 3:25 am
Hi
query to find matching records
select * from indus WHERE qh11 like '%' + qh21 + '%'
query to find non matching records
select * from indus WHERE qh11 not...
"Keep Trying"
December 18, 2008 at 10:40 pm
Well your question is not clear but try this
This query will return rows where qh21 is "present" in qh11. Ex:- value 1345 in qh21 column is present in 134567890 in...
"Keep Trying"
December 17, 2008 at 11:13 pm
Hi
The point is if you have declared a parameter for a stored proc then it needs to be passed from your application.
"Keep Trying"
December 17, 2008 at 10:49 pm
Cant see ur code but if varchar(4000) is the problem try using VARCHAR(MAX).
"Keep Trying"
December 17, 2008 at 10:20 pm
Hi
You dont need a where clause since you are passing null
if @P1 IS Null
Begin
SELECT [UID]
,[StaffNumber]
,[BusinessReason]
...
"Keep Trying"
December 17, 2008 at 4:41 am
You cannot use output columns of a sp to join with other tables.
"Keep Trying"
December 14, 2008 at 11:59 pm
Select empid,checkintime from EducationDepartment
WHERE DATEDIFF(ss,checkintime,getdate()) < 7200.
I have converted 2 hrs into seconds to get as much correct results as possible.
"Keep Trying"
December 11, 2008 at 10:17 pm
You are using a substring function in your code. check the value of the length parameter being passed.
"Keep Trying"
December 11, 2008 at 4:05 am
Article talks about using a trigger not a stored procedure.
"Keep Trying"
December 11, 2008 at 3:58 am
Well i assume that the op will insert data into the first table (which ever it is ) and then into the other table....in the normal way.
"Keep Trying"
December 10, 2008 at 11:23 pm
GilaMonster (12/10/2008)
sunandas (12/10/2008)
"Keep Trying"
December 10, 2008 at 11:20 pm
Viewing 15 posts - 466 through 480 (of 1,253 total)