Viewing 15 posts - 1,471 through 1,485 (of 2,486 total)
So you have debugging code in your production stored procedures ?
Well that's another issue ...
How about the tried and tested method of passing...
February 24, 2005 at 10:21 pm
If your column is defined as char(5), then the data is actually going to be
'9876 ' or '1647 ' ** note trailing blanks
SQL automatically pads out CHAR fields...
February 24, 2005 at 6:30 pm
The query you're using will not work. I don't know what your front-end is or how it displays the data to users. The usual method would be for the front-end...
February 24, 2005 at 3:59 pm
???
Do you want to interrogate SQL Server to determine the locking, or do you have a seperate field that indicates if the record is locked or not? If you have...
February 24, 2005 at 3:13 pm
In your initial example you just executed the xp_cmdshell procedure but didn't store it anywhere. If you replace that with my suggestion then the results are stored in the temp...
February 24, 2005 at 3:08 pm
Have you checked the event logs on the server and client?
Most likely culprit is network connectivity. Are there any configuration options in the client that allow you to increase time...
February 23, 2005 at 10:25 pm
You'll need to insert the results from xp_cmdshell into a temp table.
EG:
Create table #xp ( xp_out varchar(255) )
INSERT INTO #XP
EXEC Xp_cmdshell etc...
February 23, 2005 at 8:24 pm
If you type sp_help 'UsersRoles' into Query analyzer you should be able to see who owns the table. If you can't change the owner, the just user the...
February 23, 2005 at 6:55 pm
Where are you viewing the list of tables from?
The UsersRoles table is probably not owned by dbo. You can use sp_changeobjectowner to change it to dbo if need be.
February 23, 2005 at 6:33 pm
In terms of SQL Server capacity I don't see any problems with the number of records and database objects. It may seem a lot when you look at it from...
February 23, 2005 at 6:08 pm
Is "UsersRoles" the right name for the table?
Some good books I've got are,
With an ASP.Net and Database focus
- Building Web Solutions with ASP.NET and ADO.NET
- Beginning ASP.NET 1.1 with Visual...
February 23, 2005 at 5:38 pm
I don't have access to my Report Server at the moment, but isn't there userid property you can use?
February 23, 2005 at 4:32 pm
Hmmm ... it may be because you'll need a BEGIN and END around the ELSE part of the IF statement. Without the BEGIN ... END, it would execute the SET...
February 23, 2005 at 4:30 pm
Egads, yet another thread.
Refer to my last post over here,
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=163086
If you don't understand my suggestion, post a reply explaining what you don't understand.
February 23, 2005 at 4:22 pm
25,000 items That's some list.
Even if each of these 25,000 values is only one digit, you'll still exceed the limits of the...
February 23, 2005 at 4:18 pm
Viewing 15 posts - 1,471 through 1,485 (of 2,486 total)