Attach long text file to sql database [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.
In my website there are name of Authors with their images. How can I add their biography to the database?
The biography is long text.

You can use biography field data type VARCHAR(MAX) to store large text data.

Varchar(max) is good to store large data file but if you are using SQL Server 2008 and above then I would explore an option called "File Stream" which allows you to store actual files outside of SQL Server but still can be easily maintained and accessed withing SQL Server.
This MSDN article should give you head start about this great feature.

Related

Is is possible to view content of an .mdf file with NoSQL? [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 just want to know if it is possible to view content of tables in .mdf files with NoSQL for example mongodb? I don't want to change in .mdf file just view inside it.
Sorry to say this, but you seem to completely lack any understanding about relational databases, NoSQL databases and the difference between them.
SQL Server and MongoDB are not only two completely different database products, but two completely different kinds of databases as well (relational vs. non-relational).
Asking whether you can read SQL Server database files with MongoDB is like asking if you can edit AutoCAD files with Microsoft Excel (or the other way round).
Both are complex tools with their own file formats, but made by different vendors and for completely different purposes.

Database Sync on-premise to cloud [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 getting involved in a new world.. database sync. I use SQL Server, and I have one local database and another one in the cloud. I am trying to sync those two databases just by pressing a button.
Does anybody has any experience doing these?
Thanks
Your question is very vague and as such, my answer may seem vague too.
When generally speaking of syncing Local <==> Cloud I have personally been using a third party tool called RedGate SQL Toolbelt. The product is slightly on the pricey side, but the benefits offered are immense! You can easily compare and deploy structure and data changes at the click of a button.
(I have no affiliation to the product)

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.

What's the minimal length for storing a Facebook API Access token in SQL Server? [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.
What's the minimal length for storing a Facebook API Access token in SQL Server?
With the way and frequency Facebook likes to break things for developers, the SQL server equivalent of nvarchar(max) is the only safe way.
I guess you want store it in a mysql database.
use 255 varchar field length of database table
you can also check fb full blog post here https://developers.facebook.com/blog/post/572
EDIT
As the question has changed. I'd suggest you nvarchar(400). This is really too much, but genrally acceptable. As a database developer you always must keep in mind that there can be unpredicted unicode, even when you are absolutely sure that the incoming length will be very small and there will only be English letters.
P.S. domain names always deemed to be only English letters, untill now.
http://путин.рф is an example. This is a working domain.
Source: http://en.wikipedia.org/wiki/.%D1%80%D1%84

R: How to extract the search results from web database to R data.frame? [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.
(1) I have a list of protein' names.
(2) I want to search a web database for the biological function of these proteins.
(3) I know if the protein's name is in the database, the information such as "location" and "bioactivity" can be found.
(4) Can I do it auotomatically to extract those information to R's data.frame?
(5) If I cannot do it with R, what is the best way to do this automatically?
Many thanks,
Catherine
RCurl is the package you want, as it can be used to scrape the web. Download it, install it, require() it and read the manual and you should be able to do what you want.
Disclaimer: I have not used the package myself, but its the answer to many webscraping questions on R-help.

Resources