Welcome to ECCIE, become a part of the fastest growing adult community. Take a minute & sign up!

Welcome to ECCIE - Sign up today!

Become a part of one of the fastest growing adult communities online. We have something for you, whether you’re a male member seeking out new friends or a new lady on the scene looking to take advantage of our many opportunities to network, make new friends, or connect with people. Join today & take part in lively discussions, take advantage of all the great features that attract hundreds of new daily members!

Go Premium

Go Back   ECCIE Worldwide > General Interest > The Sandbox - National
The Sandbox - National The Sandbox is a collection of off-topic discussions. Humorous threads, Sports talk, and a wide variety of other topics can be found here.

Most Favorited Images
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
Most Liked Images
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
  • Thumb
Top Reviewers
cockalatte 645
MoneyManMatt 490
Still Looking 399
samcruz 398
Jon Bon 385
Harley Diablo 373
honest_abe 362
DFW_Ladies_Man 313
Chung Tran 288
lupegarland 287
nicemusic 285
You&Me 281
Starscream66 262
sharkman29 250
George Spelvin 246
Top Posters
DallasRain70403
biomed160460
Yssup Rider59894
gman4452915
LexusLover51038
WTF48267
offshoredrilling47502
pyramider46370
bambino40307
CryptKicker37078
Mokoa36485
Chung Tran36100
Still Looking35944
The_Waco_Kid35300
Mojojo33117

Reply
 
Thread Tools
Old 08-20-2014, 09:43 AM   #1
Gotyour6
Valued Poster
 
Gotyour6's Avatar
 
Join Date: Dec 24, 2010
Location: .
Posts: 9,759
Encounters: 24
Default SQL geeks out there?

I need a SQL function that will display the current date plus 5 days.

Right now the value is source.DTM01

I need it to be source.DTM01 (Plus five days of the value)

So if DTM01 brings in 08202014 then it will be 08252014.

Our SQL guy is out sick and need to write a condition and i am a bit rusty.
Gotyour6 is offline   Quote
Old 08-20-2014, 10:23 AM   #2
Revman
Valued Poster
 
Join Date: Dec 31, 2009
Location: North Dallas
Posts: 320
Encounters: 16
Default

Does this help?

The DATEADD() function adds or subtracts a specified time interval from a date.

Syntax: DATEADD(datepart,number,date)

Ex. To add 5 days to an OrderDate:
DATEADD(day,5,OrderDate)

Rev


Quote:
Originally Posted by Gotyour6 View Post
I need a SQL function that will display the current date plus 5 days.

Right now the value is source.DTM01

I need it to be source.DTM01 (Plus five days of the value)

So if DTM01 brings in 08202014 then it will be 08252014.

Our SQL guy is out sick and need to write a condition and i am a bit rusty.
Revman is offline   Quote
Old 08-20-2014, 10:35 AM   #3
Gotyour6
Valued Poster
 
Gotyour6's Avatar
 
Join Date: Dec 24, 2010
Location: .
Posts: 9,759
Encounters: 24
Default

Expression is syntactically valid

Thank you

Driving me insane
Gotyour6 is offline   Quote
Old 08-20-2014, 11:16 AM   #4
Revman
Valued Poster
 
Join Date: Dec 31, 2009
Location: North Dallas
Posts: 320
Encounters: 16
Default

I'm not a programmer, but I boinked my favorite girl last night at a Holiday Inn.

Glad it helped. Lol

Rev
Revman is offline   Quote
Old 08-20-2014, 11:21 AM   #5
Gotyour6
Valued Poster
 
Gotyour6's Avatar
 
Join Date: Dec 24, 2010
Location: .
Posts: 9,759
Encounters: 24
Default

I used to be 15 years ago.
If you dont use it it seems to go away quickly.

Which is the reason I fuck as often as I do.
Gotyour6 is offline   Quote
Reply



AMPReviews.net
Find Ladies
Hot Women

Powered by vBulletin®
Copyright © 2009 - 2016, ECCIE Worldwide, All Rights Reserved