netnerds.net
Home
AI Integration Series
AI Usage
About
Subscribe
github bluesky youtube github-star rss
  • How to Import Data into SQL Server 2005 From DB2 (AS400/iSeries)

    calendar Feb 21, 2009 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    Ever since I read how much IBM's DB2 SMOKED Oracle and SQL Server in the tpc-c (OLTP) benchmarks, I've wanted to work with it. The benchmarks go a little something like this:

    RDBMStpc-c
    IBM DB26,085,166
    Oracle4,092,799
    Microsoft SQL Server1,231,433

    I mean, I don't work with servers that require nearly that horsepower but …


    Read More
  • Create a DB2-C Express 9.5 Linked Server in SQL Server 2008

    calendar Feb 16, 2009 · 4 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    In order to emulate a DB2/iSeries<->SQL Server setup that I deal with at work, I installed DB2 Express-C on SuSE Linux Enterprise Server 10. The DB2/Linux Server details, as well as a sample database and table name, are as follows:

    IBM DB2 Database
    Network NameLUCAS
    TCP Port50000
    InstanceDB2INST1
    DatabaseSAMPLE …

    Read More
  • Migrate/Transfer SQL Server 2008/2005/2000/7 Logins to SQL Server 2008

    calendar Jan 26, 2009 · 10 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    UPDATE: Just use my PowerShell script, Copy-SqlLogin. You just gotta execute one line and DBA's love it.

    To my knowledge, Microsoft has not yet updated their Knowledge Base to inform administrators how to migrate SQL Server logins to SQL Server 2008. The good news is that the SQL Server 2005 login migration knowledge …


    Read More
  • PowerShell 1.0: Backup and Restore a Database Between Two SQL 2005 Servers

    calendar Jan 25, 2009 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    My technical partner-in-crime, Brandon, created this PowerShell script last year in an effort to help him understand PowerShell a bit more. He noted that while it may not all be best practices SQL-wise, he tried his best to use as much PowerShell as possible.

    #Powershell to backup and restore a SQL database from …


    Read More
  • SharePoint Server 2007 SP1: Incorrect syntax near 'COLLATE' When Joining a Farm

    calendar Jan 25, 2009 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    While attempting to add a new Indexing Server to my firm's SharePoint farm using the SharePoint Products and Technologies Configuration Wizard, I ran into the following error when clicking Retrieve Database Names:

    ************** Exception Text ************** System.Data.SqlClient.SqlException: Line 1: Incorrect syntax …


    Read More
  • Efficiently Compare Two SQL Server Tables Using Mostly VBScript

    calendar Jan 14, 2009 · 3 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    Recently, a friend of mine asked to write a script to compare two SQL Server tables using mostly VBScript. The very thought made me shudder; I wanted desperately to compare the tables in SQL Server but ultimately, the company's requirements prevented us from doing so. Here were the stipulations:

    • First, the script …

    Read More
  • SQL Server: Creating a User-Defined Data Type from Scratch

    calendar Dec 16, 2008 · 3 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    I've always been slightly jealous of PostgreSQL's network data types, speficially, it's IPv4-supporting cidr type. I wondered if Microsoft would ever implement a similar type (I'm still wondering) but until they do, I'll work with the ghetto I've got: User-Defined Datatypes, which were introduced in SQL Server 2005. …
    Read More
  • SQL Server: Free Yet Noteworthy E-book Package from Red Gate Software/Simple-talk.com

    calendar Dec 15, 2008 · 3 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    Before I start, I thought I would mention that I've always thought there was something a little suspicious about simple-talk.com. I couldn't quite put my finger on it, but.. ok for instance, one of their bloggers, "Phil Factor" (FILLFACTOR -- get it?), kinda freaks me out. Maybe it's his avatar. …
    Read More
  • T-SQL: Find Duplicates Without Using JOIN

    calendar May 15, 2008 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    I'd forgotten about this lil trick.

    select eUserName from eAttribute GROUP BY eUserName HAVING COUNT( eUserName) > 1


    Read More
  • SQL Server: Change the Owner of All Tables to "dbo"

    calendar May 8, 2008 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    Reference for me. Reference for you.

    sp_MSforeachtable @command1="EXEC sp_changeobjectowner '?','dbo'"


    Read More
    • ««
    • «
    • 8
    • 9
    • 10
    • 11
    • 12
    • »
    • »»

Chrissy LeMaire

SQL & PowerShell MVP. GitHub Star. Creator of dbatools. Need to oil my knees.

GenAI book

Buy the MEAP at manning.com for 45% off with code gaipbl45

AI Integration Series

  • Automation with AI Toolkit + GH Models
  • Getting Started with AI for PowerShell
  • Asking Tiny Questions: Local LLMs
  • Local Models Demystified
  • Asking Bigger Questions: Remote LLMs
  • PDF Text to SQL Data with OpenAI
  • Document Classification in SharePoint
  • Azure Functions Doc Parser

dbatools book

Now available in bookstores and amazon 🥳 Buy it at manning.com for 50% off with code bldbatools50

dbatools

dbatools is an awesome PowerShell module that helps you migrate entire instances with a single command, plus a whole lot more.

available from dbatools.io and github

dbachecks

dbachecks validates SQL Server environments using crowdsourced DBA checklists and outputs to Power BI and is available on github.com 📊

Find me

Find me on Bluesky

recent posts

  • Document Intelligence with Azure Functions: A Practical Implementation
  • Automating Document Classification in SharePoint with Power Platform and AI
  • Asking Bigger Questions: Remote LLMs for Automation Engineers
  • AI Integration for PowerShell Developers: Getting Started with PSOpenAI and GitHub Models
  • AI Automation with AI Toolkit for VS Code and GitHub Models: A Visual Guide
  • Asking Tiny Questions: Local LLMs for PowerShell Devs
  • Local models mildly demystified
  • Let's talk about anti-AI slop: my plead for schools to teach AI literacy

categories

powershell 128 sql-server 123 general 64 security 60 windows 47 sharepoint 42 active-directory 37 linux 31 networking 30 vbscript 30 apple 24 virtualization 22 iis 19 genai 14 github 10
All Categories
active-directory37 ai1 apache7 apple24 asp-net2 azure5 azure-functions1 bi4 db24 devcontainers1 exchange7 genai14 general64 github10 iis19 linux31 livestreaming4 lync2 mastodon4 networking30 oracle1 powershell128 security60 sharepoint42 sql-server123 typescript1 vbscript30 virtualization22 windows47 wpf7
[A~Z][0~9]
 

Copyright 2003 -  Chrissy LeMaire. All Rights Reserved