Viewing 15 posts - 706 through 720 (of 2,038 total)
You have to enclose the column names with squared brackets like:
DELETE FROM MyTab WHERE [My.Col] = 1
If this doesn't help please post your SQL statement.
Flo
June 11, 2009 at 4:56 am
You can use a CTE with a UNION ALL and an additional sort column:
DECLARE @t TABLE (Machine VARCHAR(10), Material VARCHAR(10), Store VARCHAR(10))
INSERT INTO @t
SELECT 'Notepad', 'Stone', 'East'
DECLARE...
June 10, 2009 at 12:06 pm
You cannot determine the count and names of your columns within a CASE statement. SELECT statements always require to return table structures with same columns and data types for each...
June 10, 2009 at 9:36 am
Just a little sample which shows that Ians convert works:
DECLARE @c CHAR(16)
SELECT @C = CONVERT(CHAR(16),0xDEFE4787AC2D4351BDA6FFCA07CC0D00)
SELECT @C, CONVERT(BINARY(16), @c)
Greets
Flo
June 9, 2009 at 8:57 am
And another solution:
; WITH cte AS
(
SELECT
id,
ROW_NUMBER() OVER (ORDER BY...
June 9, 2009 at 6:32 am
I don't know which technology you use to create your reports.
Usually I would suggest SQL Server Reporting Services or 3rd party tools like Crystal Reports. Both support images to be...
June 9, 2009 at 6:24 am
tosscrosby (6/8/2009)
Florian Reischl (6/8/2009)
Oups!A typo in my "Smurf"...
I didn't know if you call him "Daddy" or "Papa". Just thought "Daddy" is more common in US.
Thanks Jeff!
Only in the form of...
June 8, 2009 at 12:43 pm
Jeff Moden (6/8/2009)
tosscrosby (6/8/2009)
Florian Reischl (6/8/2009)
Sometimes I'm feelin' like "Daddy Snarf" on this page...Edit: Do you understand German?
I don't understand German. WTF does that mean?...goggle didn't help much! :w00t:
Bwaa-Haaa!!!! ...
June 8, 2009 at 12:31 pm
RBarryYoung (6/8/2009)
Florian Reischl (6/8/2009)
GilaMonster (6/8/2009)
Hey Barry. How about some basic Computer Science theory to start the day?Deja Vu (on a German forum...?!?)
Huh. Something must be wrong with my fonts,...
June 8, 2009 at 11:54 am
GilaMonster (6/8/2009)
Florian Reischl (6/8/2009)
GilaMonster (6/8/2009)
Hey Barry. How about some basic Computer Science theory to start the day?Deja Vu (on a German forum...?!?)
At least he went and found the wiki article...
June 8, 2009 at 11:07 am
GilaMonster (6/8/2009)
Hey Barry. How about some basic Computer Science theory to start the day?
Deja Vu (on a German forum...?!?)
June 8, 2009 at 9:58 am
You can also use the INFORMATION_SCHEMA views:
WITH cols AS
(
SELECT
COLUMN_NAME,
COUNT(*)...
June 7, 2009 at 9:31 am
The script is quite simple:
SELECT TOP(11000)
ROW_NUMBER() OVER (ORDER BY (SELECT NULL)) AS N
INTO Tally
FROM master.sys.all_columns c1
...
June 7, 2009 at 9:26 am
Viewing 15 posts - 706 through 720 (of 2,038 total)