SQL Server - I need code that will cause a stack dump [closed] - sql-server

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I'm trying to create a repro script for a MS connect item, and need to be able to cause a stack dump at will.
How could I do that?

DBCC DUMPTRIGGER can be used to trigger a dump on a specific error.
You can also take a dump of at will, see How to use the Sqldumper.exe utility to generate a dump file in SQL Server but those are less useful.

Related

how to write to a file with Expect and send [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
How do you write to a file using expect, then open in with notepad? I receive results to my command line and I would like to print these results in notepad. Basically an automatic way to get the same result as typing "example.log" into the command line
You cannot control a GUI application with expect. You might need something like TWAPI or TCOM

How to create job in SQL Server 2005 [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to create job that can run my stored procedure automatically by schedule. And I have completed all the information and do everything that it require. but then I click OK to finish it. And it shown message like this:
Unable to cast object of type
'Microsoft.SqlServer.Management.Smo.SimpleObjectKey' to type
'Microsoft.SqlServer.Management.Smo.Agent.JobObjectKey'.
(Microsoft.SqlServer.Smo)
Please, help me...
Thanks you in advance
Simply pasting the error in a google search shows this is a known problem and seems to be fixed in SP2.
http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/e7c0e73e-8d4b-4624-a19e-352a69995f9e/

Publish Access database based application using VB2010 [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
i want to publish access database based application using visual basic.. the thing is i do not want my database to be appeared in the installation folder so that user/client wont have access to it... It is for window application.. TQ
if you password protect your access database then they will not be able to get access to the data even if they can see it. In your code you will need to supply the password when connecting to the database.

Restore failed for Server 'Server path'. Microsoft.SqlExpress.Express.Smo [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I get this error when i try to restore my database.
Additional Information:
System.Data.SqlClient.SqlError: The media set has 2 media families but only 1 are provided. All members must be provided.
Any suggestions? Please.
Sounds like when the backup was taken it was striped with another media. Because of this, the combination of both of these would constitute a full backup. Therefore, just like the message says, you need both of the backup files.

FIRST_VALUE() and LAST_VALUE() in Sqlserver [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am reading Sql server book and i read FIRST_VALUE() and LAST_VALUE() this function.
But i have little bit of confusion for that.
Please explain it with Example if possible.
Thanks in advance
I have found the best blog that can make you to understand that:
SQL SERVER – Introduction to FIRST _VALUE and LAST_VALUE – Analytic Functions Introduced in SQL Server 2012

Resources