How to save code samples/snippet in SQL Server? [closed] - sql-server-2005

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.
Is it possible to save code samples/snippets in SQL Server 2005?
Actually I want to maintain the font style and all of code, provided by user on website same as in stackoverflow we can provide code samples along with question.
Which data type should I use and what html control should i use to receive value from user?
I don't want to create a separate file to save code samples.
Thanks in advance

If you're using SQL Server Management Studio, you can use one of the often overlooked features : the Template Explorer:
As you can see from my screenshot, you can tap into a vast array of pre-defined scripts and templates, and you can create your own folders and templates, too - and use them (also share them in your team).

Related

How To Generate Random Questions And Send Through Webservices? [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.
I want to generate a set of random questions and store in an array. Then I want to transfer the data through web services by converting the array into JSON... I'm not sure where to begin. Can somebody please point me in the right direction?
Peddy, You can go with following steps :
Get a database ready at first with a large set of Questions in a
table in your database.
Create a stored procedure to get a set of
random questions from that table.
Now you can go with Asp.Net to
create a web service.
Use json.Net methods to convert your data
fetched from DB in json format.
Send this jSon object using your web
service.
I think stratagy will work :)

update a table on my website [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.
Hey all and thank you in advance for any help, I have my website I'm building as a hobby I have an java app I wrote sitting on my comp, it updates certain tables and the the end result is a table shown to users, now I update the tables manually using phpmyadmin.
The question is how do I set a connection to import tables into my website DB?
I googled it before I asked, haven't found related stuff....
There are many ways to do what you want (dozens in fact). One way, that I personally use is through PHP and the $mysqli class.
Read more on mysqli here
You will need to setup a database conection, and from here you would use this connection to query your database by building SQL queries and using the $mysqli class to send them to the database.

Where can I find an MDX interpreter? [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 learn some MultiDimensional eXpressions query language. I've already found sufficient theoretical information. Now, I want a place to write and test my own queries.
Where can I find an MDX interpreter? Either downloadable or available online?
You can use the Saiku demo in MDX mode. It is loaded with the common Foodmart 2000 sample data warehouse which will give you a host of analytics scenarios to play with. This is an open source front-end to the open-sourced Mondrian OLAP engine.
To enable MDX mode, select a Cube from the dropdown and press the icon.

Dynamic code generation and execution without writing code to database [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.
Is it possible to generate ABAP code and execute it in memory without writing code to DB?
Yes. Use Google. Use Google. Use Google. Use Google. Use Google. (I have to write at least 30 characters although I really don't have anything else to say besides that wanting to generate code dynamically is usually a sign you're on the wrong track.)

Gathering NDR Email addresses [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 am looking to gather all NDRs from out an outlook account and write the email addresses of the fails to either a table within a database or even just an excel document for the purposes of data cleaning.
Has anyone done anything like this previously and would be willing to push me in the right direction?
Well, you didn't say if you wanted an open source app (not aware of any), but I have written this commercial product:
http://www.ListNanny.NET
ListNanny will extracted the bounced addresses, classify the NDR, and provide you with some helpful information on why it bounced.
The only catch is that the email needs to be in it's RFC2822 format (like you donwload over IMAP or POP3). It can't read native Outlook .msg files.
Does that help?