Viewing 15 posts - 151 through 165 (of 233 total)
i don't understand
the end of the code looks like:
END
CLOSE lMCursor
DEALLOCATE lMCursor
END
Always close and deallocate a cursor when your are done with it. In your code you have done before you...
January 19, 2009 at 4:56 am
Can provide answer to following:
1. what is the command you used?
2. where is the file located?
3. Is your SQL server local or remote?
January 19, 2009 at 4:50 am
One more logical error is there in the code...
The code should like...
DECLARE
@liDepLinksID ...
January 19, 2009 at 4:49 am
Following 2 lines will come after last END
CLOSE lMCursor
DEALLOCATE lMCursor
January 19, 2009 at 4:41 am
Also, you can try below query to check if any SQL object is there where you have a (unwanted) DELETE statement for your table.
SELECT o.name,c.text from sys.syscomments c
INNER JOIN...
January 19, 2009 at 4:33 am
How are you so sure that it's not SQL injection....? As you are using inline queries sql injection can be the reason if not enough validations are done at the...
January 19, 2009 at 4:27 am
Without a delete or truncate query records will not vanish any where...
Are there any triggers defined on that table? May be there is a trigger on some other table that...
January 19, 2009 at 3:23 am
Here is something that you can try....
1. Create a sql job of OS command type.
2. Write the below command:
Start cmd /c dtexec /f "[package name]"
This command will call a create...
January 19, 2009 at 2:20 am
It's a bit weird....There is no problem preformance problems with dtexec (as per my knowledge).
Can you execute your SP once again and see whether there are any blockings happening...
January 19, 2009 at 12:37 am
You are trying to create the job on a remote server not your local server.
When you fire the below command, it tries to connect to you local instance of SQL...
January 16, 2009 at 6:08 am
Alter table query stated by crazyman is your solution
January 16, 2009 at 5:31 am
DISTINCT is going to give the distinct values for the combination of following columns:
InPurchaseId,StCompanyName,StAccountName,StProcDTime,BoIsActive,StNotes
i.e the distinct value of the combination of columns in the SELECT clause
Hope you are looking...
January 16, 2009 at 4:56 am
PIVOT is supported by all editions.
Check out the below link that gives a mapping of varous features to various editions:
http://msdn.microsoft.com/en-us/library/ms143761(SQL.90).aspx
January 16, 2009 at 4:17 am
DELETE FROM [ReportServer].[dbo].[Subscriptions] -- to delete all the existing Subscriptions
January 16, 2009 at 3:43 am
Dude...I would suggest you to go through the BOL and then come up with your doubts
January 16, 2009 at 3:09 am
Viewing 15 posts - 151 through 165 (of 233 total)