Viewing 15 posts - 31 through 45 (of 506 total)
I would change the page to use a a stored procedure to do whatever the page is doing. Passing in data to be inserted, updated or deleted using variables will...
April 2, 2019 at 7:06 pm
Does your company have a system admin. If so maybe they could help you gain access using the instructions in the link Sue H. posted. Once you have access using...
April 2, 2019 at 6:58 pm
The dbo schema is a schema, the dbo user is a user that owns the dbo schema and is a member of the db_owner role by default. A user and...
March 31, 2019 at 2:56 pm
What other roles does the use in question have?
March 31, 2019 at 2:42 pm
Use a staging table with the date column defined as varchar to load to initially. Then use a select with a case that changes the date to something in the...
March 6, 2019 at 8:46 am
SELECT s.row_count
This returns the row count of a table. I have...
FROM sys.tables t
JOIN sys.dm_db_partition_stats s
ON t.object_id = s.object_id
WHERE t.name='Your table name'
AND t.schema_id=Schema_Id('Your table schema')
December 26, 2018 at 12:04 pm
Schema qualifying in your t-sql code is a best practice. I recommend getting into the the habit of specifying the schema in all your SQL.
December 13, 2018 at 6:29 pm
Hello Carlton,
Please post your sample data in the form of create table and inserts scripts, what you've tried, any error messages and desired result with the sample data you...
December 13, 2018 at 6:24 pm
Try something like this:WITH
t
(ColName, ColValue)
AS
(
SELECT
b
, c
FROM
(
VALUES
( 'itemClass'
, 'yard'
)
, ( 'itemType'
, 'SAL'
)
, ( 'employeeId'
, 'tony'
)
, ( 'stationId'
,...
December 13, 2018 at 4:49 pm
How many cores on the server and how many files does tempdb have? I'm wondering if this could be related to allocation page contention.
December 10, 2018 at 12:03 pm
At a command prompt:
setspn -A MSSQLSvc/myhost.redmond.microsoft.com redmond\accountname
Of course replace the myhost.redmond.microsoft.com with the name used in the connection string used by the application and redmond\accountname with the domain account.
If...
December 6, 2018 at 2:53 pm
Register an SPN under the domain account for the name the application is using in it's connection string.
December 6, 2018 at 2:34 pm
Please post create table an inserts with sample data for both tables.
December 4, 2018 at 7:22 am
A computed column can't access the data in another table in the computation. You need a view, table valued function or a procedure.
December 3, 2018 at 1:20 pm
Viewing 15 posts - 31 through 45 (of 506 total)