codesnipers.com
www.webhost4life.com - Good prices, features
Tuesday, August 16, 2005
Friday, August 05, 2005
August 5-13, 2005 Notes Etc.
Scott Hanselman's 2005 Ultimate Developer and Power Users Tool List
.NET Build Versioning
Code Project - Version Resource Tool Using XML/XSLT and .NET
Newsgroup - Build Number
JOS Threads
Useful / Interesting RSS Feeds
Online Payment Processor recommendations?
Revolutionary New Product
Cheap code signing?
Documentation tools
What software do you use for reading feeds?
Technology - Quotes That Didn't
Brainstorming - RandomWord.com
.NET Build Versioning
Code Project - Version Resource Tool Using XML/XSLT and .NET
Newsgroup - Build Number
JOS Threads
Useful / Interesting RSS Feeds
Online Payment Processor recommendations?
Revolutionary New Product
Cheap code signing?
Documentation tools
What software do you use for reading feeds?
Technology - Quotes That Didn't
Brainstorming - RandomWord.com
Tuesday, July 26, 2005
July 26-31, 2005 Notes etc.
SmartInspect - Advanced logging for .NET, Java & Delphi - (Nice looking site too.)
techbargains.com - Coupons etc
viemu - vi/vim editor for VS .NET (by JOS'er)
Refactoring Home Page
www.pinvoke.net - A Wiki
.NET FrameWork Windows Forms
JOS
- Ultimate Laptop ?
- Outsource your own job - HGI help
- Selling RC software - Inc article
- All the moonlighters.. - Time tracking (Free)
CodeProject
- Expresso - A Tool for Building and Testing Regular Expressions
- ASN.1 Editor
IRam Speeds Windows XP Start Up - $60
Philip and Alex's Guide to Web Publishing - Interesting
techbargains.com - Coupons etc
viemu - vi/vim editor for VS .NET (by JOS'er)
Refactoring Home Page
www.pinvoke.net - A Wiki
.NET FrameWork Windows Forms
JOS
- Ultimate Laptop ?
- Outsource your own job - HGI help
- Selling RC software - Inc article
- All the moonlighters.. - Time tracking (Free)
CodeProject
- Expresso - A Tool for Building and Testing Regular Expressions
- ASN.1 Editor
IRam Speeds Windows XP Start Up - $60
Philip and Alex's Guide to Web Publishing - Interesting
Tuesday, July 19, 2005
July 17-23, 2005 Notes Etc.
DevPlanner - personal planning and estimating tool
Surfulater - Saves web info (By JOS regular)
[DllImport(@Runtime)] -- Reflection
CodeProject - Late binding on native DLLs with C# - (Assembly language)
codeguru - Late Binding and On-the-Fly Code Generation Using Reflection in C#
Call and Debug a C++ DLL in C#
c# include c++ and debugging
debugging a C++ dll in a c# program
Debugging Win32 dll
Problems building C#, C++ solution in VS .NET
VS .NET XSLT Transforms One Two
Open Source C# Grid Control - CodeProject - SourceGrid Site
LLBLGen Pro -- O/R mapper -- JOS Recco
Diagramming for dummies - How to build a diagramming library from scratch
On tree diagrams and XML - A control to edit tree structures
The Netron Project - Graph library
Graphviz - Graph Visualization Software
VG.net - Animated Vector Graphics ($)
madgeek SharpToolbox - .NET Stuff
Piccolo Toolkit - Structured 2D Graphics Framework (Free)
JOS - Norton Ghost (Recommended alternatives)
JOS - Business Logic in ASP.NET
Surfulater - Saves web info (By JOS regular)
[DllImport(@Runtime)] -- Reflection
CodeProject - Late binding on native DLLs with C# - (Assembly language)
codeguru - Late Binding and On-the-Fly Code Generation Using Reflection in C#
Call and Debug a C++ DLL in C#
c# include c++ and debugging
debugging a C++ dll in a c# program
Debugging Win32 dll
Problems building C#, C++ solution in VS .NET
VS .NET XSLT Transforms One Two
Open Source C# Grid Control - CodeProject - SourceGrid Site
LLBLGen Pro -- O/R mapper -- JOS Recco
Diagramming for dummies - How to build a diagramming library from scratch
On tree diagrams and XML - A control to edit tree structures
The Netron Project - Graph library
Graphviz - Graph Visualization Software
VG.net - Animated Vector Graphics ($)
madgeek SharpToolbox - .NET Stuff
Piccolo Toolkit - Structured 2D Graphics Framework (Free)
JOS - Norton Ghost (Recommended alternatives)
JOS - Business Logic in ASP.NET
Wednesday, July 06, 2005
Friday, July 01, 2005
Wednesday, June 29, 2005
C# / VB .NET / VS .NET Stuff
Blah blah blah
Articles
COM Interop
Understanding Classic COM Interoperability With .NET Applications
How to create a DLL library in C and then use it with C#
COM Interoperability in .NET Framework: Part I
Reusing Legacy DLLs in C#
C# and .NET articles and links (Reading binary data, Obfuscation, etc.)
Fighting the software pirates
Delegates and Events
XML/XSLT
Saving Master-Details form using XML
Read/Write XML files, Config files, INI files, or the Registry
The App. Automation Layer - Using XML to generate Menus (Links to other XML stuff)
Utilize Internet Explorer to display reports using XML and XSL from a Windows application
Automate key sequences for repetitive tasks, reference XML data
Converting Hexadecimal String to/from Byte Array in C#
Old Fashioned Analog Meter Control
Clipboard handling with .NET
Dumping is easy
Adding tray icons and context menus
Base64 Encoder/Decoder in C#
Most Recently Used (MRU) Menu class in C#
Masks and flags using bit fields in .NET
StopWatch with digital display
Errors in XML Log with C#/.NET
A Comprehensive Logging Package for .NET
Object Serialization using C#
A simple but handy utility for serializing and de-serializing various data
Persist Window State Component
Custom application configuration. [With Editor Demo]
An extension for a Configuration Settings class in .NET
Read/Write XML files, Config files, INI files, or the Registry
Advanced Unit Testing, Part I - Overview (Big article)
Advanced Unit Testing
Article Zero: Building a UI Platform
Declarative Programming--Unifying Form And Web Development
The Application Automation Layer - Using XML to generate Menus
Ripping Data on the Web
XML Finite State Machine in C#
ASN.1 Editor
Minesweeper, Behind the scenes
Add Ins
R# for C# $149, $99 until April 5, 2005.
Visual Assist X $99 C#, VB, C/C++
Blah blah blah
Articles
COM Interop
Understanding Classic COM Interoperability With .NET Applications
How to create a DLL library in C and then use it with C#
COM Interoperability in .NET Framework: Part I
Reusing Legacy DLLs in C#
C# and .NET articles and links (Reading binary data, Obfuscation, etc.)
Fighting the software pirates
Delegates and Events
XML/XSLT
Saving Master-Details form using XML
Read/Write XML files, Config files, INI files, or the Registry
The App. Automation Layer - Using XML to generate Menus (Links to other XML stuff)
Utilize Internet Explorer to display reports using XML and XSL from a Windows application
Automate key sequences for repetitive tasks, reference XML data
Converting Hexadecimal String to/from Byte Array in C#
Old Fashioned Analog Meter Control
Clipboard handling with .NET
Dumping is easy
Adding tray icons and context menus
Base64 Encoder/Decoder in C#
Most Recently Used (MRU) Menu class in C#
Masks and flags using bit fields in .NET
StopWatch with digital display
Errors in XML Log with C#/.NET
A Comprehensive Logging Package for .NET
Object Serialization using C#
A simple but handy utility for serializing and de-serializing various data
Persist Window State Component
Custom application configuration. [With Editor Demo]
An extension for a Configuration Settings class in .NET
Read/Write XML files, Config files, INI files, or the Registry
Advanced Unit Testing, Part I - Overview (Big article)
Advanced Unit Testing
Article Zero: Building a UI Platform
Declarative Programming--Unifying Form And Web Development
The Application Automation Layer - Using XML to generate Menus
Ripping Data on the Web
XML Finite State Machine in C#
ASN.1 Editor
Minesweeper, Behind the scenes
Add Ins
R# for C# $149, $99 until April 5, 2005.
Visual Assist X $99 C#, VB, C/C++
Blah blah blah
Thursday, May 26, 2005
XML (& .NET XML)
Some Topic
blah blah blah
.NET
MVP XML Library
Tools
XMLFox -- Free XML Editor (& Tutorials)
Digital Signatures
Google "XML digital signature MSDN"
- MSDN: Understanding XML Digital Signature
- CodeProject: Using XML Digital Signatures for Application Licensing
blah blah blah
.NET
MVP XML Library
Tools
XMLFox -- Free XML Editor (& Tutorials)
Digital Signatures
Google "XML digital signature MSDN"
- MSDN: Understanding XML Digital Signature
- CodeProject: Using XML Digital Signatures for Application Licensing
SQL Stuff
Joe Celko
Colm O'Connor -- Preventing SQL Injection Attacks
Coding Horror -- Give me parameterized SQL, or give me death
SQL Injection Attacks by Example
Frans Bouma's blog -- Stored procedures are bad, m'kay?
Colm O'Connor -- Preventing SQL Injection Attacks
Coding Horror -- Give me parameterized SQL, or give me death
SQL Injection Attacks by Example
Frans Bouma's blog -- Stored procedures are bad, m'kay?
Wednesday, March 02, 2005
Friday, February 11, 2005
C++
Online Books
C++ In Action Industrial-Strength Programming Techniques
Newsgroup / Forum Links
blah blah
Unit Testing
JOS: Easy to install Unit Testing for VC++?
C++ In Action Industrial-Strength Programming Techniques
Newsgroup / Forum Links
blah blah
Unit Testing
JOS: Easy to install Unit Testing for VC++?
Wednesday, February 02, 2005
Thursday, January 27, 2005
Wednesday, December 22, 2004
Wednesday, December 15, 2004
VUML Stuff
(Possible) Bugs
UI Issues
Issues Submitted
Other
- "CONSTRAINT whatever PRIMARY KEY(id)" Doesn't round-trip.
- Can't Add-In to VS 2003
-
UI Issues
- Escape key should Cancel all dialog boxes
- "Database Schema Generation Options" default button is "Help." Should be "OK" so can Enter through the box instead of clicking.
-
Issues Submitted
- 12-15-04 Optional End-of-Generation DlgBox "Done! ... Open the database schema file now?"
-
Other
Tuesday, December 14, 2004
Thursday, December 09, 2004
Tuesday, December 07, 2004
TY SQL Server 2000 in 21 Days Stuff
EXEC sp_helpdb ty_croak
create table test
(
bytEmp_id tinyint IDENTITY NOT NULL,
strFName char(15),
strLName char(20) NOT NULL,
strAdd1 varchar(30),
strAdd2 varchar(30),
strCity varchar(30),
strState char(2),
strZipCode char(10),
dtStartDate datetime
)
/* select * from employee */
/* select 'Employee ID:' [Emp ID String], emp_id as [Employee ID], lname as 'Last Name' from employee order by lname */
select pub_id from employee order by pub_id
select distinct pub_id from employee order by pub_id
select count(distinct pub_id) [Count of Distinct pub_id] from employee
select lname +', ' + substring(fname, 1, 1) + '.' as name, emp_id as [Employee ID],
'Has been employed for ', datediff(year, hire_date, getdate()), ' years.', pub_id
from employee
where pub_id not IN ('0877', '9999')
order by pub_id, lname
/* select sqrt(2) as [Square Root]
select sqrt($2) as [Square Root] */
select title_id, title from titles where title like '%comp%'
select count(title_id) from titles where title like '%comp%'
select au_id, au_lname, au_fname
from authors
where au_lname like '[bm]%'
select * from titles
select title_id, title from titles where ytd_sales is null
select avg(ytd_sales) from titles
select avg(ytd_sales) from titles where ytd_sales is not null
select title_id, au_id from titleauthor order by title_id
select title_id, count(title_id) as NumAuthors
from titleauthor
group by title_id
having count(title_id) > 1
select * /*pub_id, pub_name, pr_info*/
from publishers
select * from pub_info
select publishers.pub_id, pub_name, pub_info.pr_info
from publishers
inner join pub_info on publishers.pub_id = pub_info.pub_id
select publishers.*, pub_info.* /*pub_id, pub_name, pub_info.pr_info*/
from publishers
inner join pub_info on publishers.pub_id = pub_info.pub_id
select * from titles order by title_id
select * from sales order by title_id
/*select titles.title_id, titles.title, sales.qty
from titles left outer join sales
on titles.title_id = sales.title_id */
select t.title_id, t.title, s.qty
from titles t left outer join sales s
on t.title_id = s.title_id
select * from authors order by city, zip
select a1.au_id, a1.au_lname, a1.au_fname, a1.city, a1.zip, a2.au_id, a2.au_lname, a2.au_fname, a2.city, a2.zip
from authors a1
inner join authors a2
on a1.city = a2.city and a1.zip = a2.zip
where a1.au_id <>
order by a1.city, a1.zip
select * from authors order by state
select * from stores order by state
select distinct state from stores
select distinct au_fname, au_lname, state
from authors
where state in (select state from stores)
/*select distinct au_fname, au_lname, state
from authors
where exists (select * from stores where state = authors.state) */
select a1.au_fname, a1.au_lname, a1.city, a1.zip
from authors a1
where a1.zip in
(select zip from authors a2
where a1.city=a2.city and a1.au_id <> a2.au_id)
order by a1.city, a1.zip
select title_id, title, price
into #tmpTitles
from titles
go
select * from #tmpTitles
go
use pubs
go
exec sp_dboption 'pubs', 'Select into/bulkcopy', true
select * into tmpPublishers from publishers
select * into tmpStores from stores
select * into tmpTitles from titles
select * into tmpSales from sales
go
exec sp_dboption 'pubs', 'Select into/bulkcopy', false
go
/* p. 377-8 */
use pubs
go
exec sp_help tmpPublishers
go
select * from information_schema.columns where table_name = 'publishers'
go
/* p. 378 INSERT VALUES */
use pubs
go
/* Can do this mult times. No pub_id constraint. */
insert into tmpPublishers
values('0001', 'OMJ Publishing', 'Bowie', 'MD', 'USA')
go
select * from tmpPublishers order by pub_id
go
/* p. 379 INSERT VALUES (Sparse) */
INSERT INTO tmpPublishers(state, pub_id)
VALUES('AK', '0003')
GO
SELECT * FROM tmpPublishers ORDER BY pub_id
GO
/* p. 381-2 INSERT using SELECT */
CREATE TABLE tblAddressList
(
strName varchar(50) not null,
strAddress varchar(50) not null,
strCity varchar(20) not null,
strState char(2)
)
GO
INSERT INTO tblAddressList
SELECT stor_name, stor_address, city, state
FROM tmpStores
GO
INSERT INTO tblAddressList
SELECT au_lname + ', ' + au_fname, address, city, state
FROM authors
GO
CREATE TABLE tblPublisherList
(
strPubName varchar(40) NULL,
strTitle varchar(80) NULL
)
GO
INSERT INTO tblPublisherList
SELECT pub_name, title
FROM tmpPublishers LEFT OUTER JOIN tmpTitles
ON tmpPublishers.pub_id = tmpTitles.pub_id
GO
SELECT * FROM tblAddressList
SELECT * FROM tblPublisherList
GO
/* p. 382 INSERT with SPs */
EXEC sp_spaceused tmpPublishers
CREATE TABLE tblSpaceUsage
(
strTableName varchar(30) NOT NULL,
strRows varchar(9),
strReserved varchar(10),
strData varchar(10),
strIndexSize varchar(10),
strUnused varchar(10)
)
GO
INSERT INTO tblSpaceUsage
EXEC sp_spaceused 'tmpPublishers'
GO
SELECT * FROM tblSpaceUsage
GO
/* p. 384 Deleting Data */
DELETE tmpSales
GO
DELETE tmpPublishers
WHERE pub_name = 'New Moon Books'
GO
DELETE FROM tblPublisherList
WHERE strPubName =
(SELECT DISTINCT pub_name FROM tmpPublishers
WHERE pub_id = '0001')
GO
/* p. 385 Delete with lookup table */
USE pubs
GO
DROP TABLE tmpSales
GO
SELECT * INTO tmpSales FROM sales
GO
SELECT * FROM tmpSales ORDER BY title_id
GO
SELECT * FROM tmpTitles ORDER BY title_id
GO
DELETE tmpSales
WHERE title_id IN
(SELECT title_id FROM tmpTitles
WHERE type = 'business')
GO
SELECT * FROM tmpSales ORDER BY title_id
GO
/* p. 387 Refresh tmp tables */
USE pubs
GO
DROP TABLE tmpSales
DROP TABLE tmpPublishers
DROP TABLE tmpStores
DROP TABLE tmpTitles
GO
SELECT * INTO tmpSales FROM sales
SELECT * INTO tmpPublishers FROM publishers
SELECT * INTO tmpStores FROM stores
SELECT * INTO tmpTitles FROM titles
GO
/* p. 387 UPDATE */
SELECT * FROM tmpTitles
GO
UPDATE tmpTitles SET ytd_sales = 0
GO
SELECT * FROM tmpTitles
GO
/* p. 388 UPDATE via Lookup Table */
SELECT * FROM tmpTitles ORDER BY pub_id
GO
SELECT * FROM tmpPublishers ORDER BY pub_id
GO
UPDATE tmpTitles
SET pub_id =
(SELECT pub_id FROM tmpPublishers
WHERE pub_name = 'New Moon Books')
WHERE type = 'business'
GO
SELECT * FROM tmpTitles ORDER BY pub_id
GO
/* p. 412 CASE */
SELECT title, title_id, type,
[Full Type] = CASE type
WHEN 'business' THEN 'Business Book'
WHEN 'mod_cook' THEN 'Modern Cooking Book'
ELSE 'Other'
END
, price,
cost = CASE
WHEN price BETWEEN 10 AND 20 THEN 'Midrange'
WHEN price < 10 THEN 'Cheap'
WHEN price IS NULL THEN 'Not Priced'
ELSE 'EXPENSIVE'
END
/* INTO zzzTempTitle */
FROM titles
ORDER BY title DESC
*** More goes here ***
create table test
(
bytEmp_id tinyint IDENTITY NOT NULL,
strFName char(15),
strLName char(20) NOT NULL,
strAdd1 varchar(30),
strAdd2 varchar(30),
strCity varchar(30),
strState char(2),
strZipCode char(10),
dtStartDate datetime
)
/* select * from employee */
/* select 'Employee ID:' [Emp ID String], emp_id as [Employee ID], lname as 'Last Name' from employee order by lname */
select pub_id from employee order by pub_id
select distinct pub_id from employee order by pub_id
select count(distinct pub_id) [Count of Distinct pub_id] from employee
select lname +', ' + substring(fname, 1, 1) + '.' as name, emp_id as [Employee ID],
'Has been employed for ', datediff(year, hire_date, getdate()), ' years.', pub_id
from employee
where pub_id not IN ('0877', '9999')
order by pub_id, lname
/* select sqrt(2) as [Square Root]
select sqrt($2) as [Square Root] */
select title_id, title from titles where title like '%comp%'
select count(title_id) from titles where title like '%comp%'
select au_id, au_lname, au_fname
from authors
where au_lname like '[bm]%'
select * from titles
select title_id, title from titles where ytd_sales is null
select avg(ytd_sales) from titles
select avg(ytd_sales) from titles where ytd_sales is not null
select title_id, au_id from titleauthor order by title_id
select title_id, count(title_id) as NumAuthors
from titleauthor
group by title_id
having count(title_id) > 1
select * /*pub_id, pub_name, pr_info*/
from publishers
select * from pub_info
select publishers.pub_id, pub_name, pub_info.pr_info
from publishers
inner join pub_info on publishers.pub_id = pub_info.pub_id
select publishers.*, pub_info.* /*pub_id, pub_name, pub_info.pr_info*/
from publishers
inner join pub_info on publishers.pub_id = pub_info.pub_id
select * from titles order by title_id
select * from sales order by title_id
/*select titles.title_id, titles.title, sales.qty
from titles left outer join sales
on titles.title_id = sales.title_id */
select t.title_id, t.title, s.qty
from titles t left outer join sales s
on t.title_id = s.title_id
select * from authors order by city, zip
select a1.au_id, a1.au_lname, a1.au_fname, a1.city, a1.zip, a2.au_id, a2.au_lname, a2.au_fname, a2.city, a2.zip
from authors a1
inner join authors a2
on a1.city = a2.city and a1.zip = a2.zip
where a1.au_id <>
order by a1.city, a1.zip
select * from authors order by state
select * from stores order by state
select distinct state from stores
select distinct au_fname, au_lname, state
from authors
where state in (select state from stores)
/*select distinct au_fname, au_lname, state
from authors
where exists (select * from stores where state = authors.state) */
select a1.au_fname, a1.au_lname, a1.city, a1.zip
from authors a1
where a1.zip in
(select zip from authors a2
where a1.city=a2.city and a1.au_id <> a2.au_id)
order by a1.city, a1.zip
select title_id, title, price
into #tmpTitles
from titles
go
select * from #tmpTitles
go
use pubs
go
exec sp_dboption 'pubs', 'Select into/bulkcopy', true
select * into tmpPublishers from publishers
select * into tmpStores from stores
select * into tmpTitles from titles
select * into tmpSales from sales
go
exec sp_dboption 'pubs', 'Select into/bulkcopy', false
go
/* p. 377-8 */
use pubs
go
exec sp_help tmpPublishers
go
select * from information_schema.columns where table_name = 'publishers'
go
/* p. 378 INSERT VALUES */
use pubs
go
/* Can do this mult times. No pub_id constraint. */
insert into tmpPublishers
values('0001', 'OMJ Publishing', 'Bowie', 'MD', 'USA')
go
select * from tmpPublishers order by pub_id
go
/* p. 379 INSERT VALUES (Sparse) */
INSERT INTO tmpPublishers(state, pub_id)
VALUES('AK', '0003')
GO
SELECT * FROM tmpPublishers ORDER BY pub_id
GO
/* p. 381-2 INSERT using SELECT */
CREATE TABLE tblAddressList
(
strName varchar(50) not null,
strAddress varchar(50) not null,
strCity varchar(20) not null,
strState char(2)
)
GO
INSERT INTO tblAddressList
SELECT stor_name, stor_address, city, state
FROM tmpStores
GO
INSERT INTO tblAddressList
SELECT au_lname + ', ' + au_fname, address, city, state
FROM authors
GO
CREATE TABLE tblPublisherList
(
strPubName varchar(40) NULL,
strTitle varchar(80) NULL
)
GO
INSERT INTO tblPublisherList
SELECT pub_name, title
FROM tmpPublishers LEFT OUTER JOIN tmpTitles
ON tmpPublishers.pub_id = tmpTitles.pub_id
GO
SELECT * FROM tblAddressList
SELECT * FROM tblPublisherList
GO
/* p. 382 INSERT with SPs */
EXEC sp_spaceused tmpPublishers
CREATE TABLE tblSpaceUsage
(
strTableName varchar(30) NOT NULL,
strRows varchar(9),
strReserved varchar(10),
strData varchar(10),
strIndexSize varchar(10),
strUnused varchar(10)
)
GO
INSERT INTO tblSpaceUsage
EXEC sp_spaceused 'tmpPublishers'
GO
SELECT * FROM tblSpaceUsage
GO
/* p. 384 Deleting Data */
DELETE tmpSales
GO
DELETE tmpPublishers
WHERE pub_name = 'New Moon Books'
GO
DELETE FROM tblPublisherList
WHERE strPubName =
(SELECT DISTINCT pub_name FROM tmpPublishers
WHERE pub_id = '0001')
GO
/* p. 385 Delete with lookup table */
USE pubs
GO
DROP TABLE tmpSales
GO
SELECT * INTO tmpSales FROM sales
GO
SELECT * FROM tmpSales ORDER BY title_id
GO
SELECT * FROM tmpTitles ORDER BY title_id
GO
DELETE tmpSales
WHERE title_id IN
(SELECT title_id FROM tmpTitles
WHERE type = 'business')
GO
SELECT * FROM tmpSales ORDER BY title_id
GO
/* p. 387 Refresh tmp tables */
USE pubs
GO
DROP TABLE tmpSales
DROP TABLE tmpPublishers
DROP TABLE tmpStores
DROP TABLE tmpTitles
GO
SELECT * INTO tmpSales FROM sales
SELECT * INTO tmpPublishers FROM publishers
SELECT * INTO tmpStores FROM stores
SELECT * INTO tmpTitles FROM titles
GO
/* p. 387 UPDATE */
SELECT * FROM tmpTitles
GO
UPDATE tmpTitles SET ytd_sales = 0
GO
SELECT * FROM tmpTitles
GO
/* p. 388 UPDATE via Lookup Table */
SELECT * FROM tmpTitles ORDER BY pub_id
GO
SELECT * FROM tmpPublishers ORDER BY pub_id
GO
UPDATE tmpTitles
SET pub_id =
(SELECT pub_id FROM tmpPublishers
WHERE pub_name = 'New Moon Books')
WHERE type = 'business'
GO
SELECT * FROM tmpTitles ORDER BY pub_id
GO
/* p. 412 CASE */
SELECT title, title_id, type,
[Full Type] = CASE type
WHEN 'business' THEN 'Business Book'
WHEN 'mod_cook' THEN 'Modern Cooking Book'
ELSE 'Other'
END
, price,
cost = CASE
WHEN price BETWEEN 10 AND 20 THEN 'Midrange'
WHEN price < 10 THEN 'Cheap'
WHEN price IS NULL THEN 'Not Priced'
ELSE 'EXPENSIVE'
END
/* INTO zzzTempTitle */
FROM titles
ORDER BY title DESC
*** More goes here ***
Monday, December 06, 2004
Thursday, December 02, 2004
M1 Comments Samples (INCITS Format)
M1 Doc Register
M1/04-0469 (TBF Comments on Hand Geometry)
606 (Proposed Disposition of Comments POS AP)
550 (Approved Response of comments Hand Geometry)
549 (Approved comments Signature/Sign IF)
457 (Authenti-Corp comments on 413)
492 (Editor response to 457)
M1/04-0469 (TBF Comments on Hand Geometry)
606 (Proposed Disposition of Comments POS AP)
550 (Approved Response of comments Hand Geometry)
549 (Approved comments Signature/Sign IF)
457 (Authenti-Corp comments on 413)
492 (Editor response to 457)
Subscribe to:
Posts (Atom)