Viewing 15 posts - 1,201 through 1,215 (of 1,999 total)
i took the data from the query into a temp table and then did the
select @sql=@sql+mytext from #res
print @sql
works fine
May 17, 2012 at 4:46 am
if you take out the assertion and just return a recordset it works fine - i can't see why the top clause if affecting you when concatenating into a string
initially...
May 17, 2012 at 4:40 am
nguyenhoang 18993 (5/17/2012)
No! if I action...
May 17, 2012 at 4:24 am
there seems to be some syntax issues in your code
Msg 156, Level 15, State 1, Line 28
Incorrect syntax near the keyword 'DESC'.
i think it's a cut and paste issue
May 17, 2012 at 4:19 am
Ramana P (5/17/2012)
Is there any other way....
why would it matter if the column is empty ?
May 17, 2012 at 4:05 am
your trigger will fire in the following way
if records are instered or update where isNull(ChungTuKho.TenForm,'')<>'DieuChuyenKho') then perform block of code 1
else perform block of code 2
if it's not firing...
May 17, 2012 at 4:04 am
do you have service broker enabled ? if so have a look at the queues and see what is in there .
May 17, 2012 at 3:55 am
Ramana P (5/17/2012)
I have table like this,
while I am altering the column, datetime to Int , it is throwing error.
I doesn't have any data in table '
GO
CREATE TABLE tblConvert(ID...
May 17, 2012 at 3:52 am
also have a look at the performance condition alerts - such as lock wait time, deadlocks per second etc
May 17, 2012 at 2:36 am
you need to do the following
1) ensure database mail is configured
2) go into sql server agent and set up an operator with your email address
3)in sql agent set up an...
May 17, 2012 at 2:34 am
For more information, see the error log located in the backup directory.
can you post the error log that it created in the backup directory
May 17, 2012 at 2:20 am
can you clarify what you mean by file lock please?
May 17, 2012 at 2:19 am
BeginnerBachi (5/17/2012)
Hi All,I need some recommendations on
How to load csv file using BULK option with OPENROWSET, Please Let me know
Thanks,
BB
have a look at this article recently posted
http://www.simple-talk.com/sql/t-sql-programming/the-tsql-of-csv-comma-delimited-of-errors/
i...
May 17, 2012 at 2:18 am
you should read the MS documentation
http://msdn.microsoft.com/en-us/library/ms189852.aspx
look at the article and take note of the configurations involving witnesses
also look at high safety mode and high performance mode - i think you...
May 16, 2012 at 9:50 am
krypto69 (5/16/2012)
Do I still want to look at Db...
May 16, 2012 at 9:30 am
Viewing 15 posts - 1,201 through 1,215 (of 1,999 total)