Viewing 15 posts - 6,721 through 6,735 (of 15,381 total)
stevewes (9/25/2013)
I have managed to get the query working and also have setup DB Mail and the Query now mails me if the rows are greater than 90 so...
September 25, 2013 at 7:55 am
C.K.Shaiju (9/24/2013)
Would like to know whether we can do that or not. Remember some old vb code with "on error resume next".
Thanks much for the reply.
No you can't simply ignore...
September 24, 2013 at 8:46 am
C.K.Shaiju (9/24/2013)
How do we ignore an error in T-SQL?
For e.g.:- The following code throw an error once the @lCounter reach at 15 and will come out. Requirement is it...
September 24, 2013 at 8:20 am
PLEASE do yourself a favor and read this article. http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/%5B/url%5D
It has been suggested to you at least a couple of other times in the various threads you have started all...
September 24, 2013 at 8:17 am
pietlinden (9/23/2013)
September 24, 2013 at 8:16 am
You can find a lot of discussions about that here.
https://www.google.com/#q=sql%20server%20hierarchy%20vs%20parent%20child
September 24, 2013 at 8:12 am
dwain.c (9/23/2013)
Steven Willis (9/20/2013)
techmarimuthu (9/19/2013)
How to do database migration in Sql server?i need basic and step by step instruction.....
Please help me
Thanks in advance
The easiest method is to use Generate Scripts...
September 24, 2013 at 8:11 am
vani_r14 (9/23/2013)
am trying to write a case statement an that currently returns one column. Is there any way that it could return multiple columns.
for e.g.
case when <condition> then...
September 24, 2013 at 8:08 am
You can do that with database triggers. Lowell shows a great example of it here. http://www.sqlservercentral.com/Forums/Topic1141863-338-1.aspx
September 24, 2013 at 8:05 am
Maybe you have an open transaction? What is the result of this query? select @@TRANCOUNT
September 24, 2013 at 7:58 am
enriquezreyjoseph (9/23/2013)
Sean Lange (9/23/2013)
kapil_kk (9/23/2013)
Instead of this:SET @SqlQueryFirstName = '@SqlQuery ' + 'firstname = @firstname'
Write this:
SET @SqlQueryFirstName = @SqlQuery + 'firstname ='+ @firstname
Instead of this, read the article that Jeff...
September 24, 2013 at 7:43 am
golansimani (9/23/2013)
Its a Date Data Type
Then the code you posted should work fine.
SET column_a= DATEADD(DAY, ABS(CHECKSUM(NEWID()) % 3650), '2015-01-01')
Remember there is not such thing as a format for date...
September 23, 2013 at 3:19 pm
In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form of INSERT INTO statements
3. Expected results...
September 23, 2013 at 3:14 pm
golansimani (9/23/2013)
Its not working , I got this message :Msg 241, Level 16, State 1, Line 1
Conversion failed when converting date and/or time from character string.
What is the datatype...
September 23, 2013 at 3:10 pm
Viewing 15 posts - 6,721 through 6,735 (of 15,381 total)