Viewing 8 posts - 1 through 8 (of 8 total)
Some Microsoft developers gave me three solutions...
declare
@x xml
set
@x = (select b.BulkColumn...
November 2, 2005 at 2:32 pm
In reply to:
Oh.. Ray... I'm not sure what you mean by "If you're using variables outside of SQL Columns use @TableNameColumnName rather than just the column name". Can you clarify...
May 4, 2005 at 5:08 pm
My associate at work showed me how to do it...
SET NOCOUNT ON
-- This is your table with GB2312 coded cities
CREATE TABLE #GB2312
(CITY VARCHAR(30) COLLATE Latin1_General_CI_AI)
INSERT INTO #GB2312 VALUES('»´±±')
INSERT INTO...
April 29, 2005 at 6:44 pm
I'd leave the table names out. As you write your SQL code, always prefix each column name with TableName.ColumnName. If you're using variables outside of SQL Columns use @TableNameColumnName rather than just...
April 29, 2005 at 5:08 pm
You can use dbcc showcontig(tablename) to view the fragmentation in the table's clustered index or heap. to view fragmentation in a specific index, use dbcc showcontig(tablename,indexname).
There are 4 ways to...
April 29, 2005 at 12:23 pm
There should be no problem with adding a second training database to the same instance of MSDE on the tablet. MSDE stores most of it's metadata in a database called master,...
April 5, 2005 at 10:56 am
This should get you started. You'll have to clean it up a little though...
SELECT
Location,
Name,
MAX(CASE StartDate when '9:00am' then Status ELSE NULL END) AS [9:00 am - 10:00 am],
MAX(CASE StartDate when '10:00am' then...
April 4, 2005 at 3:46 pm
to return your data as a rowset, try...
declare @rc int, @error int
SELECT User_ID FROM dbo.User_Information
WHERE First_Name = @FirstName AND Last_Name = @LastName AND Email_1 = @Email
April 1, 2005 at 5:13 pm
Viewing 8 posts - 1 through 8 (of 8 total)