Viewing 15 posts - 49,486 through 49,500 (of 49,571 total)
You could try and make the input and output datatypes sql_variant. It's not overly efficient, and may cause problems with implicit conversion, but should work.
March 7, 2005 at 1:13 am
What you've created there is a computed column in the table, not a column with a default. The function is recursive as written, and will call itself without end, which...
March 2, 2005 at 12:53 am
Not sure how you want this displayed
This is the easiest:
Column 1 | Column 2 |
---|---|
Total Trades | Total Value |
Trades for Symbol1 | Value |
That can be achieved by unioning the selects together
select '-Total-' AS Title, count(*) AS...
February 24, 2005 at 11:55 pm
Are either of the boxes Server 2003? If so, you might want to check this out.
http://support.microsoft.com/default.aspx?scid=kb;en-us;329332
February 23, 2005 at 12:17 am
One thing to note is that bit fields are only really useful if there are multiple of them in a row.
From BoL
"If there are 8 or fewer bit columns...
February 14, 2005 at 12:03 am
An update statement may only target one table.
I don't know what the update statement looks like, but it sounds as if you're trying to update RaceLog and RaceLogRslts in...
February 8, 2005 at 11:22 pm
Well it's not a particuarly good idea to modify primary keys in the first place. Why is it necessary to mod the pk? If the pk is changed, are there...
February 8, 2005 at 7:29 am
Yes, there is a way, and it's related to the inserted and deleted tables.
For an insert, only the inserted table will have rows.
For an update, both inserted and deleted...
February 7, 2005 at 11:36 pm
I'm not sure, but I suspect that it has to do with there been 2 ways to cascade a delete or update from Rooms to Device
(Rooms->Device), (Rooms->Employee->Device)
You should be able...
February 7, 2005 at 11:21 pm
Same here w.r.t. error_line(). No mention in BoL and select error_line() returns "'error_line' is not a recognized builtin function name
Version
Microsoft SQL Server Yukon - 9.00.852 (Intel X86)
Jul 19 2004...
February 2, 2005 at 11:00 pm
Text and image fields aren't stored in the row, all that's stored in the row is a 16 byte pointer. That's why a text/image field may store up to 2GB
How...
January 28, 2005 at 3:14 am
No, run profiler, save into SQL table, run queries. I had a very nice set of stored procs at my last job that. One would summarise profiler data and produce...
January 28, 2005 at 2:44 am
1st I don't know
2nd you can use profiler to log stored proc start and end times
3rd 8060 bytes
January 28, 2005 at 2:19 am
As far as I know,not without dropping and recreating the columns or the table.
The way enterprise manager changes column orders is to create a new table with the new...
January 28, 2005 at 2:10 am
INSERT INTO Items (ID, Item)
SELECT ID, Items FROM Items_RTD
January 18, 2005 at 12:17 am
Viewing 15 posts - 49,486 through 49,500 (of 49,571 total)