group (6,096)


Paging a collection with LINQ

Paging a collection with LINQ

How do you page through a collection in LINQ given that you have a startIndex and a count ?…


python - How do I use itertools.groupby()?

I haven't been able to find an understandable explanation of how to actually use Python's itertools.groupby() function. What I'm trying to do is this: Take a list-in this case, the children of an obje…


How do I use T-SQL Group By

I know I need to have(although I don't know why) a GROUP BY clause on the end of a SQL query that uses any aggregate functions like count, sum, avg, etc: SELECT count(userID), userName FROM users GR…


Paging SQL Server 2005 Results

How do I page results in SQL Server 2005? I tried it in SQL Server 2000, but there was no reliable way to do this. I'm now wondering if SQL Server 2005 has any built in method? What I mean by paging i…


sql - Drop all tables whose names begin with a certain string

How can I drop all tables whose names begin with a given string? I think this can be done with some dynamic SQL and the INFORMATION_SCHEMA tables.…


javascript - How can I enable disabled radio buttons?

The following code works great in IE, but not in FF or Safari. I can't for the life of me work out why. The code is supposed to disable radio buttons if you select the "Disable 2 radio buttons" opt…


python - Regex and unicode

I have a script that parses the filenames of TV episodes(show.name.s01e02.avi for example), grabs the episode name(from the www.thetvdb.com API) and automatically renames them into something nicer(…


How to request a random row in SQL?

How can I request a random row(or as close to truly random as is possible) in pure SQL?…


Enumerate Windows user group members on remote system using c#

Within c#, I need to be able to Connect to a remote system, specifying username/password as appropriate List the members of a localgroup on that system Fetch the results back to the executing comput…



Windows/Active Directory-User/Groups

I'm looking for a way to find a the windows login associated with a specific group. I'm trying to add permissions to a tool that only allows names formatted like: DOMAIN\USER DOMAIN\GROUP I have a…




multiple how example sql with select count columns get value