Thanks
Have a look at this
http://www.dotnetspider.com/Question117.aspx
HTH
Thanks
Have a look at this
http://www.dotnetspider.com/Question117.aspx
HTH
Hi,
I created a table with one column being that of an 'image' data type. The problem is I don't know how to insert an image into that column. Pleas Help.
Hello aniait,
Here is a step-by-step example of storing and retrieving image files in sqlserver 2005 express!
http://chiragrdarji.wordpress.com/2007/03/05/storing-and-retrieving-image-in-sql-server/
Hope this helps!
I have created a table in sql studio and i need to make cell editable and be able to update them to the server. I have looked around here but all i can find is code for the site side, i need a way to do it in studio if possible. BTW im very new to this so im sorry in advance
Hi,
Do you want to edit your data in the tools such like sql management studio? If so, first you should connect to your remote sql server, and click on your database node, open your datatable, edit your data. If you are familiar with sql statement, you can connect to you database server by Query Analyzer and execute your sql command, it also can help you edit the data in your remote database.
Here are some HowTo articles which might be helpful to you .http://support.microsoft.com/ph/2855/en-us/?aid=1&GSA_AC_More1
Hope that helps. Thanks.
||| OK, thanks i got it working in studio now. How can i make only a part of a row editable and now the rest? I didnt see a way to do that
Hi,
"only a part of a row..."Do you want to make some of the columns editable? Well, it has related to the role problem. In SQL92, you can use GRANT syntax to set the specific authority against those columns or fields in a table and grant a user the authority. About GRANT, see:http://msdn2.microsoft.com/en-us/library/ms178569.aspx .
The second way is just set the authority against a table. The table contains those columns or fields which should be editable or uneditable and make a View with other tables. In this way, you also can achieve your goal.
Thanks.
Hi,
I'm pretty new at this, writing SQL and reporting services. I created a report with a date parameter. I need the report to ignore the timestamp. My @.Startdate is fine because the timestamps is at 12:00:00AM but my @.EndDate also has this timestamp. I need to pull all the data up to the end date the user enters without taking the timestamp into consideration.
If someone can help me out with, I would greatly appreciate it.
Thanks,
Hello,
If I understand correctly, you want to include the date that your user selects in your results. The problem is that when a parameter is used, it assumes midnight, so any values that are on that day but have a time other than midnight will not be included. In order to fix this, just add one day to your EndDate parameter.
In your SQL query, add this:
... where DateField >= @.StartDate and DateField < dateadd(d, 1, @.EndDate)
Hope this helps.
Jarret
|||You got it! I've been adding one day when I enter the dates when I test the report. I don't know why I did not think of just adding one day in the code. I guess I was thinking too hard trying to completely ignore the timestamp.
Anyways, I think this will work with the users. THey will definitely be happy that they do not have to type in the timestamp when they run their reports.
Thank you so much!!
|||Glad I could help!
Jarret