Number2 Blog - myITforum
Sign in
|
Join
|
Help
Home
Contact
About
RSS
Atom
Comments RSS
Search
Tags
add remove programs
add_remove_programs_64_data
Add_Remove_Programs_Data
aliases
batch scripting
BIGINT
bitwise and
byte conversion
case
CAST
CHARINDEX
clustered index seek
CM 2007
CM 2007 SP2
coalesce
configmgr
constraint
CSV
CTE
Dynamic SQL
execution plan
Export
GROUP BY
hardware inventory
index
indexes
inline function
inner join
INT
itemExtract
Microsoft Systems Management Server
Microsoft.XmlHttp
mif
multistatement table-valued function
ObjectType
optimization
order by
outlook
perfmon
performance tips
permissions
PIVOT
promisec
Query Performance
scalar-valued user defined function
SCCM
SCCM Guru
SCCM Guru Webcast
Schema
SCOM
shell scripting
SMS
sms 1.2
sms 2.0
SMS 2003
SMS 2003 SP2
SMS 2003 SP3
sms report
SMS Web Reports
smsschm_users
sorting
sp_recompile
SQL
SQL 2000
sql 2005
SQL 2008
SQL Reporting Services
Status Messages
SUBSTRING
system center configuration manager
table scan
Table size
table variable
TRUNCATE
UDF
udf_ConvertBytes
udf_ItemExtract
user defined function
user defined functions
v_add_remove_programs
v_GroupMap
v_GS_SoftwareFile
v_GS_SoftwareProduct
v_ProductFileInfo
v_SecuredObject
v_StatMsgAttributes
v_StatMsgInsStrings
v_StatusMessage
v_UserClassPermissions
vbscript
view
views
vSMS_Folders
web report
web reports
webreport
webreport_approle
wildcard
Winbatch
WQL
News
Navigation
Site Home
Home
Bloggers List
Forums
Blogs
Photos
Downloads
Donate
Archives
September 2011 (8)
August 2011 (4)
June 2011 (2)
January 2011 (1)
October 2010 (1)
January 2010 (1)
December 2009 (1)
November 2009 (2)
October 2009 (4)
September 2009 (1)
August 2009 (3)
July 2009 (5)
March 2009 (2)
January 2009 (1)
December 2008 (1)
October 2008 (4)
August 2008 (6)
July 2008 (1)
June 2008 (2)
May 2008 (3)
April 2008 (2)
March 2008 (4)
February 2008 (1)
January 2008 (4)
December 2007 (7)
November 2007 (9)
October 2007 (7)
Browse by Tags
All Tags
»
SQL
(
RSS
)
Active Directory
add remove programs
add_remove_programs_64_data
Add_Remove_Programs_Data
aliases
batch scripting
beautifier
BIGINT
BIT
bitwise and
bracket wildcard
BYTE
byte conversion
case
CAST
CHARINDEX
clustered index scan
clustered index seek
coalesce
CTE
Datetime
Datetime2
Discovery
DISTINCT
escape characters
execution plan
Flags
FOR XML PATH
forums
functions
GROUP BY
index
index scan
index seek
indexes
inline function
inner join
INT
Integer8
ip address
itemExtract
join
left join
left outer join
LIKE
multistatement table-valued function
order by
outlook
performance tips
PIVOT
Query Performance
scalar-valued user defined function
SCCM
SCCM Guru
SMS
SMS 2003
SMS_INVENTORY_DATA_LOADER
SMS_SOFTWARE_INVENTORY_PROCESSOR
sorting
sp_GetPublicKeySMSUID
sp_MSForEachTable
sp_recompile
SQL 101
SQL 2000
sql 2005
SQL 2008
SQL Beautifer
SQL Formatter
SQL Memory
subnet
subnet boundaries
SUBSTRING
table
table scan
Table size
table variable
tables
TRUNCATE
UDF
udf_ConvertBytes
udf_ItemExtract
user defined function
user defined functions
v_add_remove_programs
v_FullCollectionMembership
v_GS_SoftwareFile
v_GS_SoftwareProduct
v_ProductFileInfo
V_R_System
v_SecuredObject
v_UserClassPermissions
vbscript
view
views
web report
web reports
webreport
wildcard
Winbatch
WQL
SCCM Guru Webcast Q&A #4 - Memory Capacity Planning
by
jnelson
This is part of the blog series where I finish answering all the questions that came up during my SCCM Guru Webcast session. QUESTION: Often, we see SQL...
Filed under:
SQL
,
SQL 2008
,
SCCM Guru
,
SCCM Guru Webcast
,
SQL Memory
OT - Giving away 2 copies of SQL code formatter at the SCCM Guru webcast
by
jnelson
Hot diggity! The fine people at Gudu Software have kindly granted me 2 free licenses of their SQL formatter (SQL Pretty Printer, a $50 value) to give away...
Filed under:
SQL
,
SCCM Guru
,
SQL Beautifer
,
SQL Formatter
SCCM - Flags (Updated: AdvertFlags, BoundaryFlags, DeviceFlags, ImageFlags, OfferFlags, PkgFlags, ProgramFlags, ReferenceImageFlags, RemoteClientFlags, TimeFlags, TS_Flags)
by
jnelson
THE PROBLEM So, you're looking at an advertisement, package, program or any number of things using the corresponding view in the database but you don't...
Filed under:
SQL
,
SCCM
,
bitwise and
,
Flags
SQL - Fix the "There is no row at position 0. (System.Data)" error when clicking properties of a DB.
by
jnelson
THE PROBLEM Open SQL Management Studio, right click on any of the DBs and click PROPERTIES. An error message will pop up saying "There is no row at...
Filed under:
SQL
,
u_tables.sql
MS to release fix to 'The server principal "testuser" is not able to access the database "msdb" under the current security context' problem
by
jnelson
I can't really tell you what's in our security hardening baselines, but I can tell you that it's a good security idea to completely remove...
Filed under:
SQL
,
MSDB
SMS/ConfigMgr - SQL Function to Convert Integer8 (from Active Directory) to Datetime/Local Time
by
jnelson
INTEGER8... It's possible you're pulling a value from Active Directory for discovery like LastLogonTimeStamp which stores it's value as something...
Filed under:
SQL
,
sql 2005
,
SQL 2008
,
Discovery
,
Datetime2
,
Integer8
,
Active Directory
,
Datetime
UPDATED: SQL Function - udf_ConvertBytes - Converts any Byte-based unit of measure to any other Byte-based unit of measure (Bytes, MB, GB, TB, PB, EB, ZB, YB, BB, GeopBytes)
by
jnelson
Yesterday I wrote THIS article to convert between different byte-based units of measure...in it I wrote that the ideal way to convert is to have a lookup...
Filed under:
SQL
,
case
,
byte conversion
,
udf_ConvertBytes
SQL Function - udf_ConvertBytes - Converts any Byte-based unit of measure to any other Byte-based unit of measure (Bytes, MB, GB, TB, PB, EB, ZB, YB, BB, GeopBytes)
by
jnelson
(UPDATE: This article has been updated HERE based on some performance testing I conducted) By far, the most popular article I've ever written is THIS...
Filed under:
SQL
,
case
,
byte conversion
,
lookup table
,
udf_ConvertBytes
Calculate a client's subnet mask when defining subnet boundaries (using BITWISE AND "&" in SQL)
by
jnelson
OVERVIEW I was recently pointed to Jeff Gilbert's blog where he has an article on determining a client's subnet mask and using them in subnet boundaries...
Filed under:
SQL
,
bitwise and
,
subnet boundaries
,
subnet
WQL - Using the bracket wildcard to match a range of version numbers (MNSCUG)
by
jnelson
At the Minneapolis area System Center User Group meeting last night, I mentioned the notion of using LIKE and the bracket wildcard [] to match a range...
Filed under:
SQL
,
wildcard
,
WQL
,
bracket wildcard
SMS 2003 - Query to pull logged on user records from all sources
by
jnelson
I was trolling the forums lately on MyITForm.com and was reading some conversations about logged on user records. It made me think of all the sources where...
Filed under:
SQL
,
SMS
,
CTE
SQL/WQL Tip - How to escape special SQL/WQL wildcard characters like % _
by
jnelson
THE PROBLEM You've written a SQL query or a WQL query (like an SMS/CM collection query) and you need to look for a string that has a percent % or underscore...
Filed under:
SQL
,
wildcard
,
WQL
,
escape characters
UPDATE - SMS 2003 - Selecting from v_Add_Remove_Programs still slow, even after applying 939872
by
jnelson
I previously wrote an article talking about the slowness we were having even after applying 939872 --> HERE There are some additional things I'd...
Filed under:
SQL
,
SMS
,
SMS 2003
,
Add_Remove_Programs_Data
,
performance tips
,
scalar-valued user defined function
,
add remove programs
,
add_remove_programs_64_data
,
indexes
,
v_add_remove_programs
SMS 2003 - Selecting from v_Add_Remove_Programs still slow, even after applying 939872
by
jnelson
!!!! UPDATE !!!! WHEN YOU'RE DONE, THIS ARTICLE HAS BEEN UPDATED --> HERE PROBLEM I don't know if this is a function of the massive size of...
Filed under:
SQL
,
SMS
,
SMS 2003
,
Add_Remove_Programs_Data
,
performance tips
,
scalar-valued user defined function
,
add remove programs
,
add_remove_programs_64_data
,
indexes
,
v_add_remove_programs
SMS - #2's #1 suggestion - Learn to read/write WQL/SQL by hand
by
jnelson
My #1 suggestion after years of working with SMS/SQL/WQL and then coaching/mentoring/training people is that it REEEALLLY pays to know how to read/write...
Filed under:
SQL
,
SMS
,
SMS 2003
,
performance tips
,
aliases
,
WQL
,
beautifier
,
query desiger
,
sms 2.0
,
query builder
,
sms 1.2
More Posts
Next page »