Viewing 15 posts - 46 through 60 (of 153 total)
Yes, i also found some what odd behavior of sysdepends table. I did some early search on it, but didnt find any useful info.
June 3, 2009 at 11:46 pm
hope this helps.
i have created weekoff's table according to your given structure and some assumption. Please find test table and a function to find total working hrs...
Table and data:
create table...
June 3, 2009 at 6:37 am
Thanks Markus...
as i told earlier, i had left to try to solve my problem as i switched to SS2K5; but i would like to apply this solution now. Though,...
June 3, 2009 at 4:58 am
A query with ordering on DateTime filed will perform slower than query with ordering on int filed, as to sort on datetime value, sql server has perform internal conversion on...
June 3, 2009 at 4:53 am
I have some confusion here...
Structure of workingdays table : tbl_WorkingDaysAndHours
ID,
MondayWorkDay(bool),
MondayWorkStartTime(datetime),
MondayWorkDurationInMinutes(int),
TuesdayWorkDay(bool),
TuesdayWorkStartTime(datetime),
TuesdayWorkDurationInMinutes(int),
WednesdayWorkDay(bool),
WednesdayWorkStartTime(datetime),
WednesdayWorkDurationInMinutes(int),
ThursdayWorkDay(bool),
ThursdayWorkStartTime(datetime),
ThursdayWorkDurationInMinutes(int),
FridayWorkDay(bool),
FridayWorkStartTime(datetime),
FridayWorkDurationInMinutes(int),
SaturdayWorkDay(bool),
SaturdaydayWorkStartTime(datetime),
SaturdaydayWorkDurationInMinutes(int),
SundayWorkDay(bool),
SundayWorkStartTime(datetime),
SundayWorkDurationInMinutes(int),
according to above structure, you can get detail about the week day and week off in general.
eg.
MondayWorkDay = true
MondayWorkStartTime =...
June 3, 2009 at 4:26 am
Such SPs might not edit any table info; may used to fetch data from tables only.
Is that so? Please check it and let me know. it will help to...
June 3, 2009 at 4:11 am
Question2: I am not able to attach linked server from ss2k5 to ss2k I am getting error:
I doubt if this is possible. I was having the same problem when i...
June 3, 2009 at 4:05 am
Hey, my testing DB doesn't hv views or pk (:hehe:), so left to chk that...
here is the reviesed code...
/* **********************************************************
To check dependency as per object, use following values as
input...
June 3, 2009 at 2:24 am
You can use temporary table instead stored procedure into where clause.
eg,
create table #spResult ({columns as result of your sp})
insert into #spResult exec YourSP ({input parameters})
select * from yourtalble
where col...
June 3, 2009 at 2:10 am
Hope this helps you,
June 3, 2009 at 1:50 am
@rajesh.vr,
you can start with above solution by Eswin. OR give your db structure (table for main task info., holiday info etc).
June 3, 2009 at 1:15 am
Sorry, i misunderstood your pt earlier...
I tried to make changes according to your pt. please check this.
/* **********************************************************
To check dependency as per object, use following values as
input of the...
June 3, 2009 at 1:10 am
Do you have any information stored in your db for holidays?
June 3, 2009 at 12:11 am
If you are new to Backup & Restore, i suggest to visit the following links to have in depth idea about Backup and restore in SQL Server.
June 3, 2009 at 12:03 am
Viewing 15 posts - 46 through 60 (of 153 total)