Viewing 15 posts - 1,006 through 1,020 (of 1,186 total)
What about writing the masked figure into a VARCHAR(11) variable then REPLACE the decimal in the variable and append that to the string you are writing.
DECLARE @Var VARCHAR(11)
SET @Var =...
June 8, 2004 at 9:07 am
Why not have an NT group built PER Role for the application... This way again you are not in charge of Suzy cant do this, or Bill can do this. ...
June 6, 2004 at 6:48 am
I would start with what Andy mentioned too. The reason for TCP/IP running better vs. Named Pipes depends on your network set-up. IF you are in a LAN then TCP/IP...
June 4, 2004 at 5:43 am
I have ran into this debate as well. In my experience (as well as David's) the only way to get to which is better is to build it and see.
Table...
June 4, 2004 at 5:40 am
Why not create something like the following:
DECLARE @StartDate DATETIME
DECLARE @EndDate DATETIME
SELECT DateLastTouched, Device, COUNT(Device)
FROM tblListOfStuff
WHERE DateLastTouched BETWEEN @StartDate AND @EndDate
GROUP BY DateLastTouched, Device
ORDER BY DateLastTouched, Device
I know that this...
June 3, 2004 at 3:37 pm
I think you are wanting to use SQL Server/Windows security...
You sound like you want to define a single SQL userid that connects to your application and then manage a list...
June 3, 2004 at 3:30 pm
Jonathan,
The DTS package will run locally from wherever it is called. Instead of having a DTS package from Server2 call the package on Server1 why cant you just move...
June 3, 2004 at 5:32 am
Here is information from the BOL glossary:
FOREIGN KEY constraints defined as part of a table definition that enforce proper relationships between tables. The constraints ensure...
June 2, 2004 at 5:38 am
Correct, The order of all the fields for a UNION have to be same same. If they are different you will wind up with the problem you just had
May 31, 2004 at 8:29 am
Have you been able to connect to the other DOMAIN any computer??
Sounds like you may be having firewall and/or trust issues between the domains based on what you are showing...
May 28, 2004 at 5:15 am
CREATE PROCEDURE sp_Test
@Var1 VARCHAR(100)
@Var2 DATETIME = NULL
AS
will work for what you want. Just make sure that you build in code traps to handle the NULL casing
May 27, 2004 at 10:09 am
Remi,
Does the Query that is causing the problem on the new server run ok on the old?
Regional settings, Locale and Collation (try checking the indiv. database(s)) as well.
Good...
May 27, 2004 at 10:07 am
1. Check to ensure that the Windows UserID that you are using wasn't deleted from the Server Users/Groups and/or removed from SQL user/groups
2. Check the server (right-click on the server...
May 26, 2004 at 5:35 am
Joe,
When you are using xp_cmdshell is the user that invokes that command the same as you? i.e are you using trusted connection i.e. YourDomain\Joseph when you log in to...
May 25, 2004 at 5:45 am
Try coverting the text field to (N)VARCHAR (8000) this way the text field will be able to go into the variable
DECLARE @VAR1 AS VARCHAR(n)
SET @VAR1 = (SELECT CAST(Textfield AS VARCHAR(n))...
May 25, 2004 at 5:41 am
Viewing 15 posts - 1,006 through 1,020 (of 1,186 total)