Skip to main content

Posts

Showing posts from September, 2010

atlanta systems management user group 10/11/2010

  The Atlanta Southeast Management User Group and System Center Virtual User Group invites you to attend the next SMUG meeting scheduled for October 11th, 2010 for a day of great presentations, discussions, and networking. Because this is a hybrid user group meeting there are two ways to register: If you would like to attend IN PERSON at the Alpharetta Microsoft Campus please register here. https://www.clicktoattend.com/invitation.aspx?code=151055 If you would like to attend VIRTUALLY please register here. http://www.clicktoattend.com/?id=151148   DATE & TIME October 11, 2010 10:00 AM – 4:00 PM Eastern Time Zone Lunch provided by Veeam. http://www.veeam.com “The nworks Management Pack provides continuous monitoring of the largest, most demanding virtual environments. It features a centrally managed, distributed architecture for horizontal "no limits" scalability and automatic failover and load balancing for high availability. Optimized, user-configurable data

ssrs: the variable name has already been declared -- when working with temp tables

here is today's hair pulling exercise.  I created a very simple sql query (the one I was using too complex to see the problem clearly).  note below: 1: declare @Marcus table 2: ( 3: resourceid nvarchar(10), 4: name nvarchar(255) 5: ) 6:   7: insert into @marcus 8: select resourceid,name0 from v_r_system 9:   10: select * from @marcus   when executed in sql server management studio, the query runs as expected.  it just grabs resourceid and system name, puts them into a temporary table, and draws them right back out.  however, when executed in bids (business intelligence development studio), you receive the error stating "the variable name has already been declared. variable names must be unique within a query batch or stored procedure."   right thanks. so after much chasing geese wildly, I discovered that while windows is decidedly case insensitive, sometimes it changes its mind.  in visual studio (b

ds: paged results with jndi ldap (java)

I see this often enough that I thought I'd give myself a reference for when I see a lead on it. first example is on the forums.sun.com site. http://forums.sun.com/thread.jspa?threadID=578347&tstart=0 second example on the java2s.com site. http://www.java2s.com/Code/Java/JNDI-LDAP/howapagedsearchcanbeperformedusingthePagedResultsControlAPI.htm since I know nothing about java, I can't validate that this works... but it's good reference.   1: /** 2: * paged.java 3: * 5 July 2001 4: * Sample JNDI application that performs a paged search. 5: * 6: */ 7: 8: import java.util.Hashtable; 9: import java.util.Enumeration; 10: 11: import javax.naming.*; 12: import javax.naming.directory.*; 13: import javax.naming.ldap.*; 14: import com.sun.jndi.ldap.ctl.*; 15: 16: class paged { 17: 18: public static void main(String[] args) { 19: 20: 21: Hashtable env = new Hashtable(); 22: St