Viewing 15 posts - 16 through 30 (of 111 total)
It appears you want to do the insert & update through a single query. You can't do that in SQL 2005. You will have to identify a logic to find...
August 9, 2010 at 11:47 am
It seems there should be a more efficient way to do this, but a crude form would be like:
declare @date datetime
declare @time datetime
set @date = getdate()
set @time = cast('01/01/2000 03:12:12.321'...
August 9, 2010 at 11:42 am
Just a suggestion. Each article at SSC has a link at the bottom saying "Join the discussion" where questions/views/suggestions specific to that article are discussed. I guess, it would be...
July 21, 2010 at 12:42 pm
sumit.joshij (7/5/2010)
I have already written all the business logic in C# and cant change the language as VB.NET.
If you already have the C# library, why...
July 21, 2010 at 12:36 pm
I hate to admit, but I simply didn't know you can use HAVING without a Group By. 🙁
June 7, 2010 at 7:35 am
RAISERROR
http://msdn.microsoft.com/en-us/library/ms178592(SQL.90).aspx
May 26, 2010 at 9:30 am
Maybe there is a cleaner solution than I am proposing. From what I have you can base yours on below code to get rid of the nasty first empty value...
May 20, 2010 at 12:41 pm
Jeff Moden (5/19/2010)
I don't have 2k8 either but does it work for the DATETIME datatype? If so, ISDATE is vindicated.
🙂
Yes, I tested it for DATETIME and it works.
May 20, 2010 at 7:41 am
asita (5/19/2010)
"DMA","CY FOUN","AMERICANUN","AEN","ALF","ALF","FEB10","4","DRTV"," ",".00"," ","0.00","12.0","0.00","12.0" ;
"DMA","CY FOUN","AMERICANUN","APL","ALF","ALF","FEB10","4","DRTV"," ",".00"," ","0.00","10.0","0.00","10.0" ;
i got what i want for all...
May 20, 2010 at 7:39 am
Date lockoutFromDate = new GregorianCalendar(2010, (5-1)*3, 1).getTime()
Where are you getting these numbers from? Where are you going to write the SQL -- will it be an SP or a parameterized...
May 19, 2010 at 8:31 am
asita (5/18/2010)
so that i can use that file...
May 19, 2010 at 7:52 am
Jeff Moden (5/18/2010)
May 19, 2010 at 7:37 am
A twist on previous question agreed, but I do not agree with the choice of answers. It is a bit too vague to select that as an answer.
May 19, 2010 at 7:17 am
It appears what CozyRoc is suggesting is to modify the source file to make it a comma delimited file. I have never gone down that path so can't be much...
May 18, 2010 at 2:52 pm
Viewing 15 posts - 16 through 30 (of 111 total)