Viewing 15 posts - 4,291 through 4,305 (of 26,490 total)
jcachado (11/19/2015)
I need help please,
This statement work but the system only see the hour not the minute:
(create_dtim between #1/1/2015# and #3/1/2017#) and (hour(create_dtim) >= 22)+ (minute(create_dtim) >= 15)
Thks a lot...
November 19, 2015 at 2:27 pm
Steve Jones - SSC Editor (11/18/2015)
Eirikur Eiriksson (11/17/2015)
Coming from a cold country you have to excuse my ignorance but where is the winter?
😎
Hopefully coming soon. Not nearly enough snow here...
November 18, 2015 at 3:28 pm
robert.sterbal 56890 (11/18/2015)
Did anyone consider creating a topic for the original topic and renaming this Water Cooler?
Nope, no reason to.
November 18, 2015 at 10:38 am
rodjkidd (11/18/2015)
Lynn Pettis (11/18/2015)
robert.sterbal 56890 (11/18/2015)
Luis Cazares (11/18/2015)
November 18, 2015 at 10:34 am
Or you could encapsulate the INSERT and DELETE in something like the code snippet I attached to this post. If someone else would like to copy it directly into...
November 18, 2015 at 10:27 am
robert.sterbal 56890 (11/18/2015)
Luis Cazares (11/18/2015)
November 18, 2015 at 9:58 am
fmarler (11/17/2015)
Select * from tbl
having cast(isnull(Column1,0) as int) + cast(isnull(Column2,0) as int) + cast(Column3 as int) > 0
my issue is all 3 columns are varchar...
November 17, 2015 at 10:15 am
Ed Wagner (11/17/2015)
Lynn Pettis (11/16/2015)
Ed Wagner (11/16/2015)
Lynn Pettis (11/16/2015)
************(11/16/2015)
November 17, 2015 at 9:56 am
Even today I still make rookie mistakes at times. Know the order you need when doing multiple replaces and some of the values you are replacing are embedded in...
November 16, 2015 at 4:52 pm
Why go to all that trouble. Dynamically create the entire SQL query in the application and call this proc:
create procedure dbo.QueryDB (
@SQLCmd nvarchar(max)
)
as
set nocount on;
execute...
November 16, 2015 at 4:05 pm
robert.sterbal 56890 (11/16/2015)
Lynn,Asking someone to approach a situation differently doesn't mean that they are doing something wrong, or they aren't one of the best people on the site.
I say this...
November 16, 2015 at 2:16 pm
robert.sterbal 56890 (11/16/2015)
That is correct. I've had my email address changed, and I use to one log in from work that was changed at that time and I also use...
November 16, 2015 at 2:05 pm
I have used aliases in this manner for years, never had a problem with a variance in data returned.
Break down the query into individual queries of each table and see...
November 16, 2015 at 2:01 pm
robert.sterbal 56890 (11/16/2015)
Lynn,This thread or this site?
I've been using SQL Server Central for at least 5 years.
Must have been using a different username as the profile for the username you...
November 16, 2015 at 1:54 pm
Viewing 15 posts - 4,291 through 4,305 (of 26,490 total)