Quantcast
Channel: Microsoft Techies
Browsing all 430 articles
Browse latest View live

SQL ROW_NUMBER OVER AND PARTITION BY

Table Name: myTableColumns:-->roll_no-->classId-->locationSQL Statements--Get the count of rows based on columns  SELECT *, ROW_NUMBER()OVER(PARTITION BY roll_no  ORDER BY subject DESC) rowCnt...

View Article


Programmatically adjusting the "toolbar type of a ListViewWebPart using...

I have a requirement to hide new item or edit list in SharePoint list$powershellSnapin = “Microsoft.Sharepoint.Powershell”if ((Get-PSSnapin -Name $powershellSnapin -ErrorAction SilentlyContinue) -eq...

View Article


sql multiple inner joins to same table

CREATE TABLE Table1([weddingtable] int, [tableseat] int, [tableseatid] int, [name] varchar(4),    [Created] int,[Modified] int);INSERT INTO Table1([weddingtable], [tableseat], [tableseatid],...

View Article

How to change default options for different file extentions

Go to this path.Control Panel\All Control Panel Items\Default Programs\Set Associations

View Article

Remove “Restricted User” in SQL Server

Remove “Restricted User” in SQL Server---------------------------------------------------------------  Use DatabaseNameALTER DATABASE DatabaseName SET SINGLE_USER WITH ROLLBACK IMMEDIATEGOALTER...

View Article


C# create GUID

            Console.WriteLine(@"System.Guid.NewGuid().ToString() = " + System.Guid.NewGuid().ToString());            Console.WriteLine(@"System.Guid.NewGuid().ToString(""N"") = " +...

View Article

mstsc

mstsc -v:SYSTEMNAME /f -admin

View Article

Aras Innovator Disconnect all users from the database

Disconnect all users from the database--Change the database connection string in the InnovatorServerConfig.xml from “<DB-Connection…” to <xDB-Connection” and restart the w3svc service(IIS).  This...

View Article


Microsoft Azure

https://mva.microsoft.com/colleges/azure-iaas-for-it-pros

View Article


Sql Querry to find all active DB connection

SELECT DB_NAME(dbid) AS DBName,COUNT(dbid) AS NumberOfConnections,loginameFROM    sys.sysprocessesGROUP BY dbid, loginameORDER BY DB_NAME(dbid)

View Article

CMD - Read folder file Name using cmd

Open CMDgo to directorycd c:\myfolderdir *.xmldir /B *.xml >t.txtYou will get all file name

View Article

SQL table compare between 2 databases

SQL Server Data Tools for Visual Studio 2013 -Run as AdministratorTOOLS-->SQL Server-->New Data Comparison...Click on New Connection..under Source DatabaseSelect SQL Server Name and DB NameClick...

View Article

Add users under IIS_IUSRS

 Control panel -> user account -> change account type -> Advanced -> Groups ->IIS_IUSRSorThis PC-->Right click--> Manage--> Local Users and Groups-->IIS_IUSRSAdd your name...

View Article


Cricket live

http://www.crichd.tv/crictime.comtouchcric.comhttp://www.watchcric.net/

View Article

Aras enable debugging and stack trace

Enable debugging:Go to IIS Server-Go to IISGo to innovator web siteRight click Select explorer :Ex: c:\Program Files (x86)\Aras\Innovator\Server\Find innovator.config.xmlChange below value from false...

View Article


Aras Innovator sample AML and IOM Raw

View Article

Aras Innovator - Properties and Attributes

Properties are used to define the data for an Item; attributes are meta-data for theItem or Property, which are used to control the server logic and Methods. Think ofattributes like command line...

View Article


Excel find leading and trailing spaces

=if(len(A1)-len(trim(A1))>0,"yes","no")

View Article

Excel sub string formula based on last space

=TRIM(RIGHT(SUBSTITUTE(A1,"",REPT("",LEN(A1))),LEN(A1)))=TRIM(LEFT(SUBSTITUTE(A1,"",REPT("",LEN(A1))),LEN(A1)))

View Article

Get item CHARACTERISTIC values of an Item

select * from innovator.PART where keyed_name='P00001'-- Get ID from above results and use in the below query...select  * from innovator.PART_ITEM_CHARACTERISTIC_VALUE where...

View Article
Browsing all 430 articles
Browse latest View live