Viewing 15 posts - 1 through 15 (of 49 total)
Thanks Jeff, appreciate it.
February 3, 2014 at 11:39 am
Thank you everyone!
I appreciate all answers.
February 3, 2014 at 11:37 am
hi jeff,
Cannot insert the value NULL into column 'City', table 'DB_61318_itweb.dbo.Location'; column does not allow nulls. INSERT fails.
<code>
create table country(country_code nvarchar(2), country_name nvarchar(255))
create table states(country_code nvarchar(2),state_code nvarchar(20),state_name nvarchar(255))
create table weblocations...
February 1, 2014 at 11:21 pm
The thing with sql server is that when u are playing with mixed mode.
you need to be aware if you change mappings for asp.net web applications.
Database in file location AppData....
May 23, 2013 at 1:21 pm
David, you helped me.
Best thing is to goto security and login windows authentication
user sa make sure mappings are all granted
CREATE USER [sa] FOR LOGIN [sa]
GO
May 23, 2013 at 1:18 pm
This is correct but I am try to set mixed mode back.
SQL instance from windows authentication to mixed authentication & then restart SQL services to get it working.
ALTER LOGIN sa...
May 23, 2013 at 12:54 pm
Windows could not start service sql agent express on local computer
Error 1067
May 23, 2013 at 12:04 pm
===================================
Cannot connect to OWNER-PC.
===================================
Login failed for user 'sa'. (.Net SqlClient Data Provider)
------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476
------------------------------
Server Name: OWNER-PC
Error Number: 18456
Severity: 14
State: 1
Line Number: 65536
------------------------------
Program Location:
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException...
May 23, 2013 at 12:02 pm
This is not my backup strategy. The thing is if one user wants to manipulate the report it can be loaded in memory without touching the database. How would u...
May 4, 2011 at 7:27 am
because my boss wants to store each report definiton in a database. That each report's xml is stored in a string ntext in a database.
So what should I do?
May 3, 2011 at 12:05 pm
i think i got it
INSERT INTO tblFinancialContact (
[FinancialContactID],
[ProviderID],
[FinancialContactPrefix],
[FinancialContact],
[FinancialPosition],
[FinancialPhone],
[FinancialExtension] ,
[FinancialFax] ,
[FinancialEmail]
)
SELECT ROW_NUMBER() OVER (ORDER BY ProviderID) AS Row,
[ProviderID],
[FinancialContactPrefix],
[FinancialContact],
[FinancialPosition],
[FinancialPhone],
[FinancialExtension] ,
[FinancialFax] ,
[FinancialEmail]
FROM dbo.tblServiceProvider
March 8, 2011 at 2:11 pm
SELECT ROW_NUMBER() OVER (ORDER BY ProviderID) AS Row,
[ProviderID],
[FinancialContactPrefix],
[FinancialContact],
[FinancialPosition],
[FinancialPhone],
[FinancialExtension] ,
[FinancialFax] ,
[FinancialEmail]
FROM dbo.tblServiceProvider
now how do I add the insert?
March 8, 2011 at 2:08 pm
SELECT
(
[ProviderID],
[FinancialContactPrefix],
[FinancialContact],
[FinancialPosition],
[FinancialPhone],
[FinancialExtension] ,
[FinancialFax] ,
[FinancialEmail])
FROM dbo.tblServiceProvider)
SELECT ROW_NUMBER()
OVER (ORDER BY ProviderID) AS Row
stuck
March 8, 2011 at 1:49 pm
SELECT ROW_NUMBER()
OVER (
SELECT
[ProviderID],
[FinancialContactPrefix],
[FinancialContact],
[FinancialPosition],
[FinancialPhone],
[FinancialExtension] ,
[FinancialFax] ,
[FinancialEmail]
FROM tblServiceProvider) AS Row
not sure how to do this?
March 8, 2011 at 1:27 pm
Viewing 15 posts - 1 through 15 (of 49 total)