Viewing 15 posts - 181 through 195 (of 455 total)
Ok, Check this SET @ErrorNum = @@ERROR
IF @ErrorNum <>0
BEGIN
ROLLBACK TRANSACTION
END
February 6, 2007 at 7:00 am
You need to delete your existing SQL Server registration and Register afresh using the actual name of the system/instance of SQL Server.
February 6, 2007 at 6:47 am
Hi Chris,
You check for the Error count after every Insert or update statement and do a rollback on each check if the count is greater than zero also check the...
February 6, 2007 at 6:34 am
What is that you are trying to do.
You can use the basic syntax
SELECT DISTINCT <ColumnName>
FROM
<TableName>
ORDER BY
<ColumnName> <SortOrder>
February 6, 2007 at 6:20 am
What is the Front end tool that you are using for this application for invoking the process.
February 5, 2007 at 9:17 am
I agree with Sugesh, its something to do with your SQL Server configuration settings. Please follow the instructions from the below link and I hope you will be able to...
February 5, 2007 at 1:34 am
I completely agree with what David has suggested.
For restoring a database by overwriting the existing database, you need exclusive locking until the restore process is completed. So run a sp_who...
February 5, 2007 at 1:23 am
There are several articles that could help you in accomplishing your job. I am posting URLs of couple of articles that may help you.
http://www.sqlservercentral.com/columnists/cBunch/movingyouruserswiththeirdatabases.asp
http://vyaskn.tripod.com/moving_sql_server.htm
February 5, 2007 at 12:56 am
You can aswell use a DTS Script or Import/Export wizard from your SQL Server to accomplish your data transfer from SQL Sever DB to Access DB unless you are looking...
February 4, 2007 at 11:22 pm
If you have definite set of options its always better to use CASE in order by clause and define the conditions and coming to Sort Order, I don't see a...
January 31, 2007 at 4:14 am
Can you please post your table structure and the query. Your question makes sense as it should not really take so much time.
January 31, 2007 at 3:07 am
As posted by Sergiy, Your DISTINCT clause would implement a GROUP BY implicitly and does a scan of the results, so in the query analyzer if you look at the...
January 31, 2007 at 1:31 am
Are you talking about the result displayed in your query analyzer? Check if you have Maximum Characters Per Column value under Tools-Options- Results tab.
January 31, 2007 at 1:22 am
You are trying to return mutliple columns inside your CASE, it is not supported, as per your requirements it is better to use IF ELSE Blocks. You can nest multiple...
January 30, 2007 at 3:23 am
SELECT CAST(GETUTCDATE() AS SMALLDATETIME)
SELECT CONVERT(VARCHAR(16),GETUTCDATE(),20)
January 30, 2007 at 2:53 am
Viewing 15 posts - 181 through 195 (of 455 total)