Hi,
I'd like to list all objects of a particular database in SQL Server 2005. I created a query as shown below:
select name, type_desc from sys.objects
WHERE type in ( 'C', 'D', 'F', 'L', 'P', 'PK', 'RF', 'TR', 'UQ', 'V', 'X' )
union
select name, type_desc from sys.indexes
order by name
However, this query list all objects of ALL d...
The .NET libraries do an excellent job at resizing images that look great:
Bitmap newImage = new Bitmap(newWidth, newHeight);
using (Graphics gr = Graphics.FromImage(newImage))
{
gr.InterpolationMode = InterpolationMode.HighQualityBilinear;
gr.DrawImage(srcImage, new Rectangle(0, 0, newWidth, newHeight));
}
One problem I'm ha...
What information is important to include in an About dialog?
Definitely:
Name of the software
Version
Copyright notice
Usually:
Assemblies versions (for .NET applications)
...
Hi all,
I want to drop some keywords meta tags into a page depending on the article being showed.
Let's say you load the page blabla.com/article.aspx?id=2
The article which id equals 2 is titled "The Wisdom of Deliberate Mistakes in Business Management"
So I would like to include the meta tags like this:
<META name="keywords" content...
Hello!
Does anyone know how to extract/generate Meta data from an .NET assembly just like VS "Go to definition" do. When you do this within Visual Studio you get generated CS class files in the temp directory with Meta data classes.
I´m looking for an automatically way to extract/generate CS classes from an entier Assembly.
Is there ...
I'm using DBVisualizer to extract DDL from an Oracle 10.2 DB. I'm getting odd instances of repeated columns in constraints, or repeated constraints in the generated DDL. At first I chalked it up to a bug in DBVisualizer, but I tried using Apache DDLUtils against the DB and it started throwing errors which investigation revealed to be c...
I don't quite know what to use for terminology, so bear with me...
Are there any cross-platform frameworks out there that facilitate a kind of "virtual file storage" to encapsulate adding files along with a database of metadata? I'm thinking about something along the lines of iTunes or iPhoto, where the program manages a whole bunch of ...
As a part of a scripted procedure I'm trying to programmatically update references to linked servers in stored procs. We have several references like this:-
SELECT foo, bar
FROM [Server].[Database].dbo.[Table]
Which I would like to translate to:-
SELECT foo, bar
FROM [Database].dbo.[Table]
I would like to do this entirely programma...
I'm not sure "Metadata Management" is the right term....
Basically, I have a client who asked for recommendations on "Metadata Management" tools with regard to a data warehousing project they have. I'm guessing the term has to do with creating something like a data dictionary, but I have relatively little experience in this area and am...
Hi all
I am in the process of optimising my database and I was thinking of changing the datatype for some columns from DATETIME to SMALLDATETIME on my tables.
Is there a system stored procedure that returns both the contents/code of a store procedure and the dependent table which will then allow me to do a join on a filtered list of ta...
I have a working DNLA device (Xbox360, PSP...) RSS Video feed reader in C#. It parses .opml files to get the feed uri.
Sometimes an RSS feed item will not have a duration value, so I am hard coding a default duration value when it doesn't.
I want to get the true duration of the video file.
My idea is to use httpWebRequest to get a b...
I ask myself this every time I replace a Photoshop .psd file that I have under version control.
You can see with ls -l that PS has created a thumbnail icon in the resource fork.
...
I'm using Maven2 and I can't seem to find any plugins in my repository. I'm getting errors like
repository metadata for:
'org.apache.maven.plugins' could not
be found on repository: myrepo
where myrepo is the name of my repository.
My question is how does Maven know where to find plugins? There's a reference in my error to met...
And how do the constraints differ in practice on various browsers?
...
Is there a standard meta data format for videos?
Are there other meta data formats generic enough to apply to a video file?
...
How have you used the meta data information in your Clojure Program?
I saw one example from Programming Clojure
(defn shout [#^{:tag String} message] (.toUpperCase message))
;; Clojure casts message to String and then calls the method.
What are some of the usage? This form of programming is completely new to me. Thanks.
...
... it just doesn't work, at all. I've tried for days, with all different combinations of frick'n stuff and it won't budge.
There are certainly people out there who seem to be blogging about breezing through this sort of thing without seeing a glimpse of an issue saying things like "We all know that you can show public properties of ex...
I've got a query in C# that is working for me to query the metadata for the Entity Framework. I need to convert it to VB.NET, but I'm struggling to convert the AS keyword to "cast" meta to System.Data.Metadata.Edm.EntityType. I've tried TryCast, CType, Cast, etc.
Here's the query in C#:
var queryResult = from meta in oc.MetadataWorks...
I'm trying to find metadata about the length of fields in MS Dynamics CRM 4.0 - does anyone know if/where this information is available from the metadata services? I tried looking on the AttributeMetadata class, but can't find anything there. Yet, the field length does show up in MS's metadata browser, so it must be accessible somehow.
...
Hi,
I'm working on the following site:
http://www.fragrancecollection.com/
When I submit the site to Digg; odd characters show up in the description field. I tried forcing the character encoding to UTF-8 (which the document is saved as) via meta tags; but that did nothing. I tried replacing complex characters with simpler literals (su...