Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SQLScript
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TongZuu
SQLScript
Commits
33147a97
Commit
33147a97
authored
Apr 02, 2015
by
TongZuu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inti script Routing
parent
a53ef61d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
ParseString.sql
SQL Server/Function/ParseString.sql
+0
-0
getDiffIntersecTimeZone.sql
SQL Server/Function/getDiffIntersecTimeZone.sql
+2
-2
GetRouting.sql
SQL Server/Utility/GetRouting.sql
+0
-0
No files found.
SQL Server/
Utility/Function
ParseString.sql
→
SQL Server/
Function/
ParseString.sql
View file @
33147a97
File moved
SQL Server/
Utility
/getDiffIntersecTimeZone.sql
→
SQL Server/
Function
/getDiffIntersecTimeZone.sql
View file @
33147a97
...
@@ -2,11 +2,11 @@ IF OBJECT_ID ( 'time_in_zone', 'FN' ) IS NOT NULL
...
@@ -2,11 +2,11 @@ IF OBJECT_ID ( 'time_in_zone', 'FN' ) IS NOT NULL
DROP
function
time_in_zone
;
DROP
function
time_in_zone
;
go
go
/* return 1 = true , 0 = false */
/* return 1 = true , 0 = false */
CREATE
FUNCTION
time_in_zone
(
@
mytime
datetime
,
@
beg_zone
datetime
,
@
endzone
datetime
)
CREATE
FUNCTION
time_in_zone
(
@
mytime
datetime
,
@
beg_zone
datetime
,
@
end
_
zone
datetime
)
RETURNS
int
RETURNS
int
AS
AS
BEGIN
BEGIN
IF
@
beg_zone
<=
@
mytime
and
@
mytime
<=
@
endzone
IF
@
beg_zone
<=
@
mytime
and
@
mytime
<=
@
end
_
zone
BEGIN
BEGIN
return
1
;
return
1
;
END
END
...
...
SQL Server/Utility/
Script r
outing.sql
→
SQL Server/Utility/
GetR
outing.sql
View file @
33147a97
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment