Viewing 15 posts - 8,836 through 8,850 (of 9,644 total)
When you use the char or nchar data type the string is right padded with spaces so 'Customer1' (Char(9)) and 'Customer1 ' (Char(10)) are different. Thus you need to...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 8, 2008 at 2:23 pm
Matt Miller (4/8/2008)
Oh don't feel bad. You're right that I shouldn't have used the "Regex syntax" term, since it only supports ranges and range exclusions and not all of...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 8, 2008 at 2:16 pm
marge0513 (4/8/2008)
Thanks for responding Jack!I get a "missing keyword" error.
In the subquery put TABLE.File_Name instead of File_Name as File_Name is a function.
Antares' questions are also valid.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 8, 2008 at 1:56 pm
Well, count this as one of the times I made a fool of myself. I actually looked up PatIndex in BOL expecting it to give an example using the...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 8, 2008 at 1:34 pm
This should give you what you want:
Select
Table1.*,
Table2.*
From
Table1 T1 INNER JOIN
Table2 T2 On
T1.File_Name = T2.File_Name And
T1.Downloaded_Date = T2.Act_Date INNER JOIN
(Select
File_Name,
Max(DownLoaded_Date) as Max_Date
From
Table1
Group By
File_Name) as T3 On
T1.File_Name =...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 8, 2008 at 1:20 pm
PATINDEX does not use Regular Expression Syntax so your second example is matching on 'A', '-', 'Z' and so the only matches found are 'A' and 'Z'
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 8, 2008 at 1:10 pm
Are you sure you need a cursor? If you do post the code you may find that the cursor is unnecessary.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 8, 2008 at 1:06 pm
What are the settings for the web site in IIS? Has the server been rebooted and Reporting Services not restarted?
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 8, 2008 at 12:20 pm
K. Brian Kelley (4/7/2008)
Create a database role and grant it the rights to execute the stored procedures. Make the user a member of that role....
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 7, 2008 at 7:29 pm
I believe that it is in machine.config, but I actually am not sure and I do not have access to a web server at this moment.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 7, 2008 at 7:28 pm
I don't think the autogrow setting will affect you until it needs to grow. Most experts do not think you should set it autogrow. You definitely should not...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 7, 2008 at 4:55 pm
You can just used a varchar or nvarchar field to store the path. Then your GUI will use that as its path into the file system.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 7, 2008 at 4:52 pm
Can you post your connection string (minus any private data)?
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 7, 2008 at 4:38 pm
You need to go to the Sql Server Configuration Manager-> Sql Server Netowork Configuration -> Protocols and set the SQL Server to allow remote connections via at least TCP/IP. ...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 7, 2008 at 2:51 pm
The other consideration for this is any calculations/aggregates you may use against this column. 0 is much different than Null. Check out this article before making this change,...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
April 7, 2008 at 2:47 pm
Viewing 15 posts - 8,836 through 8,850 (of 9,644 total)