Viewing 15 posts - 53,656 through 53,670 (of 59,068 total)
Jeremy,
Do you have an example of how you'd solve the above using the Pivot operator?
December 9, 2007 at 7:29 am
I wish I could take the credit for the following bit of SQL prestidigitation, but I can't... thank "Sergiy" 😉
CREATE FUNCTION dbo.fnAddWeekdays (@Start DATETIME, @Days INT)
RETURNS DATETIME
...
December 8, 2007 at 7:01 pm
Ah, crud... I just noticed that this is a 2k5 forum... the code I posted is most definitely for 2k...
You'll need to do some mods to the code but I...
December 8, 2007 at 6:59 pm
I guess the best way to help you get this sorted out, is to give you a chunk of "tool" code I made a while back... could easily be turned...
December 8, 2007 at 6:26 pm
In your code, you never say...
DELCLARE @db_Name SYSNAME
That means you have an undefined variable and it's gonna give you an error. Here's the beginning of your code... and there's...
December 8, 2007 at 6:13 pm
fosco (12/8/2007)
December 8, 2007 at 6:00 pm
This takes care of the single letter and blank situations...
--===== This is the solution for the known constraints on the data as posted
DECLARE @MaxWidth TINYINT
SET @MaxWidth...
December 8, 2007 at 5:55 pm
Drat... both of ours come up with a little problem when we have data like this...
--===== This just creates demonstrable test data and is NOT part of the solution
SET NOCOUNT...
December 8, 2007 at 5:15 pm
The following is your guide... the rest is dependent on your "Yukon DBA" knowledge of T-SQL 😉
http://www.sql-server-helper.com/tips/read-import-excel-file-p03.aspx
December 8, 2007 at 12:54 pm
...or, perhaps, something a bit more "auto-magic"... 😀
--===== This just creates demonstrable test data and is NOT part of the solution
SET NOCOUNT ON
DECLARE @TestData TABLE(String VARCHAR(10))
...
December 8, 2007 at 11:14 am
You'll have to run 8 separate searches, or columns
Or... we can cheat like hell 😛
--===== This just creates demonstrable test data and is NOT part of the solution
...
December 8, 2007 at 10:59 am
I've seen "Runnable" in 2k, but never "Running" and, as you probably found out, BOL 2k doesn't have much info on the sysProcesses table... but the following URL (from BOK...
December 8, 2007 at 10:34 am
sp_MakeWebTask is one way...
Hundreds of other ways using OSQL, OpenRowset, etc to fill spreadsheet templates, make simple text files, etc, etc.
December 8, 2007 at 10:17 am
Double posting is so rude... waste time answering one only to find answer on the other.
http://www.sqlservercentral.com/Forums/Topic430841-5-1.aspx
http://www.sqlservercentral.com/Forums/Topic430840-146-1.aspx
December 8, 2007 at 10:10 am
Viewing 15 posts - 53,656 through 53,670 (of 59,068 total)