Viewing 15 posts - 91 through 105 (of 2,037 total)
AFAIK, image or varbinary(max) are not supported by raw data files. (BTW: image data type is marked as deprecated. You should move to VARBIANRY(MAX)).
If both sides are SQL Server, you...
January 28, 2010 at 1:43 pm
If your view contains something like this
SELECT * FROM FooTable
... and you want to see your new columns automatically after adding to your table, have a look to BOL for...
January 28, 2010 at 1:26 pm
Hey Lutz!
lmu92 (1/28/2010)
@Flo: Glad to see you around again! Where have you been?
Been busy last time. It's always hard for a (primary) .net-dev to stay too much in sql. It's...
January 28, 2010 at 1:19 pm
charipg (1/28/2010)
I am not able to provide the sample data.can you pls provide the sample query?
?
January 28, 2010 at 1:15 pm
Are you sure that your statement is correct? You don't use "B" anywhere. (BTW: Try to get rid of this old join-style)
Greets
Flo
January 28, 2010 at 1:11 pm
You could save your script with SQLCMD variables and call it via xp_cmdshell.
Greets
Flo
January 28, 2010 at 1:04 pm
I'd also suggest using Service Broker.
Why are you looking for another solution?
January 28, 2010 at 12:58 pm
tan110 (1/27/2010)
declare @ TimeVal varchar(16); -- Added space between @ and TimeVal to get code to post
set @TimeVal = '00.13.00';
select @TimeVal, cast(replace(@TimeVal,'.',':') as time)
declare @ TimeVal...
January 28, 2010 at 12:55 pm
If your columns wouldn't have a name, how would you access those columns in your next SELECT?
As Dave wrote, why not using a incremental default name like col1, col2, ......
January 28, 2010 at 12:50 pm
Hi
Guess you are looking for a scalar function, not a procedure. This enables you to directly return a value into a scalar variable.
-- scalar function
DROP FUNCTION GetAmount;
GO
CREATE FUNCTION GetAmount(@productId INT)
...
January 28, 2010 at 12:43 pm
Hi weitzera
Sorry for the late feedback.
... and thanks for this lesson. Apparently I did all my test wrong. So there seem to be only two ways to get correct identity...
January 21, 2010 at 12:58 pm
Hi weitzera
weitzera (1/20/2010)
The sample script works because you're using Table variables, which are local to the scope. If you use real tables, it...
January 20, 2010 at 10:20 am
Hi %
kll (1/20/2010)
Just remember that using any kind of @@identity or scope_identity() will still require some RBAR on multi line inserts.
It's possible to use bulk insert operations if table containing...
January 20, 2010 at 4:45 am
Viewing 15 posts - 91 through 105 (of 2,037 total)