Viewing 15 posts - 9,631 through 9,645 (of 13,461 total)
yeah i've used multiples before; i needed both a counter and a partitioning /grouping of the data;
here's a simple but lame example:
select
Row_number()...
April 22, 2010 at 12:02 pm
the most common way is to have a trigger enter a row in a specific table; the your application can scan the table every minute or so for any...
April 22, 2010 at 11:59 am
Google Translator (4/21/2010)
I have an application that contains a cursor when I run the query in SSMS there are mistakes but he made the entire cursor (like on error...
April 22, 2010 at 9:27 am
I doubt R2 is much different from SQL 2008; there is a maintenance function to change editions in the SQL Server Installation Center for 2008:

April 22, 2010 at 8:51 am
as Lutz posted, both the syntax you used and the error you posted are for Oracle only; SQL server uses the plus + operator to concatenate strings:
Here is the equivilent...
April 22, 2010 at 7:37 am
Joy Smith San (4/22/2010)
SoSSMS = sqlwb.exe
SQL server = sqlserver.exe
Am I right.?
yes that is exactly correct, Joy; you've got it now.
April 22, 2010 at 7:30 am
the views from INFORMATION_SCHEMA stuff are missing a lot of info;
to get theidentity or not,i would either use the ColumnProperty() function, or select from sys.columns instead.
select * from sys.columns where...
April 22, 2010 at 7:28 am
SQLWB.EXE = SQL Work Bench, otherwise knows as SQL Server Managment Studio; that's the executable you are using to look at and connect to SQL server, running the sqlserver.exe process.
April 22, 2010 at 7:21 am
Grant Fritchey (4/22/2010)
April 22, 2010 at 6:12 am
jameswhitby (4/22/2010)
By doing that I get the following error message:
Msg 7313, Level 16, State 1, Line 1
An invalid schema or catalog was specified for the provider "Ifxoledbc" for linked server...
April 22, 2010 at 4:25 am
james it's probably just the dbname.schemaname then;
you said you were running this commnad:
select * from LIVE.live_db.informix.thistable
try
select * from LIVE...thistable instead; that lets the linked server infer the dbname and...
April 22, 2010 at 4:11 am
when you concatenate, you cannot alias the CASE statement...right at the end of your case you have this:
end as type||','||
also you have a logic hole: null concated with anything...
April 21, 2010 at 5:29 pm
yes you can Eric; i did the same thing making a SSMS clone in .NET, for me it was just for fun, but you learn all the pieces you need.
What...
April 21, 2010 at 5:26 pm
Elliott W (4/21/2010)
So the PHB strikes again..CEWII
it took me 3 searches for the definition till i found Pointy Haired Boss, which i should have realized right away...
i have a bunch...
April 21, 2010 at 3:05 pm
homebrew01 (4/21/2010)
Maybe I jumped through hoops that I didn't need to ?!
well, I've never had to restart the default trace or a c2 trace; i could be wrong, but that's...
April 21, 2010 at 2:59 pm
Viewing 15 posts - 9,631 through 9,645 (of 13,461 total)