Viewing 15 posts - 826 through 840 (of 1,186 total)
Unfortunately, there is no easy way of getting SQL to FORMAT like EXCEL. What you probably could do is take your code above and build it into a function that...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 10, 2004 at 9:20 am
Is it possible for you to ADD an IDENTITY field or some variant thereof that would allow the following type syntax?
SELECT field1, field2, field3
FROM dbo.table1
WHERE table1ID BETWEEN 1 AND 30
Then...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 10, 2004 at 5:23 am
This is from my PC
name minimum maximum config_value run_value
----------------------------------- ----------- ----------- ------------ -----------
max text repl size (B) 0 2147483647 65536 65536
This is from my Dev server
name minimum maximum ...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 9, 2004 at 5:47 am
I would avoid trying to use the "SET identity ON add a record SET identity OFF"
This will cause duplicate records to get entered/records inserted out of order.
I know from personal...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 9, 2004 at 5:40 am
that my friend could get very ugly. You would need to build multiple variables and parse the text field ..... Please dont ask me how to do that. I have...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 8, 2004 at 5:23 pm
Sounds like you will have to build a temp table that will be populated by the 1st row with whatever criteria is used to pull the data for the 1st...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 8, 2004 at 5:54 am
Have you tried converting the ReadText to be like the following?
CAST(ReadText AS VARCHAR(8000)) or CONVERT(VARCHAR(8000), ReadText)
You can also add that to the WHERE or wherever else you reference the TEXT...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 8, 2004 at 5:48 am
To my knowledge you can't (or rather shouldn't). You can easily do this through EM and for the more adventurous via registry hacking (not recommended for ANYONE but an option...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 7, 2004 at 5:42 am
September 5, 2004 at 11:46 am
AH! Now it becomes clear. I downloaded the SQL Server 2005 BETA I think you have the client reference edition only.
Sorry to confuse you,
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 4, 2004 at 10:46 am
I downloaded from MSDN.one.microsoft.com but you have to be a subscriber. I don't know where else to get it
Are you sure you dont have
"C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\SqlWb.exe"
???
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 3, 2004 at 2:47 pm
I create a variable called PilotRun in the DTS package properties and set it via command line run (we use a host scheduler and have to use DTSRun). Here is...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 3, 2004 at 10:44 am
I tried to find something in BOL aqnd couldn't. I always use a variable because I never thought out a function....
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 3, 2004 at 10:39 am
It is the SQL Server Management Suite (Profiler, EM, QA) and Business Intelligence (??) for DTS Packages
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 3, 2004 at 5:23 am
Not very complicated but hopefully will help you:
SELECT *
FROM pubs.dbo.authors AU
LEFT JOIN pubs.dbo.titleauthor TA
ON AU.au_id = CASE WHEN ISNULL(TA.au_id, '') = '' THEN NULL ELSE...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
September 3, 2004 at 5:21 am
Viewing 15 posts - 826 through 840 (of 1,186 total)