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
test
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 649
MoneyManMatt 490
Still Looking 399
samcruz 399
Jon Bon 397
Harley Diablo 377
honest_abe 362
DFW_Ladies_Man 313
Chung Tran 288
lupegarland 287
nicemusic 285
You&Me 281
Starscream66 280
George Spelvin 267
sharkman29 256
Top Posters
DallasRain70798
biomed163382
Yssup Rider61074
gman4453297
LexusLover51038
offshoredrilling48697
WTF48267
pyramider46370
bambino42867
The_Waco_Kid37225
CryptKicker37224
Mokoa36496
Chung Tran36100
Still Looking35944
Mojojo33117

Reply
 
Thread Tools
Old 08-20-2014, 10:43 AM   #1
Gotyour6
Valued Poster
 
Gotyour6's Avatar
 
Join Date: Dec 24, 2010
Location: .
Posts: 9,772
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, 11:23 AM   #2
Revman
Valued Poster
 
Join Date: Dec 31, 2009
Location: North Dallas
Posts: 322
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, 11:35 AM   #3
Gotyour6
Valued Poster
 
Gotyour6's Avatar
 
Join Date: Dec 24, 2010
Location: .
Posts: 9,772
Encounters: 24
Default

Expression is syntactically valid

Thank you

Driving me insane
Gotyour6 is offline   Quote
Old 08-20-2014, 12:16 PM   #4
Revman
Valued Poster
 
Join Date: Dec 31, 2009
Location: North Dallas
Posts: 322
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, 12:21 PM   #5
Gotyour6
Valued Poster
 
Gotyour6's Avatar
 
Join Date: Dec 24, 2010
Location: .
Posts: 9,772
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